VisualBasicMigrationCodeGenerator.ScrubName Method (String)

 

Removes any invalid characters from the name of an database artifact.

Namespace:   System.Data.Entity.Migrations.Design
Assembly:  EntityFramework (in EntityFramework.dll)

[SuppressMessageAttribute("Microsoft.Security", "CA2141:TransparentMethodsMustNotSatisfyLinkDemandsFxCopRule")]
protected virtual string ScrubName(
	string name
)

Parameters

name
Type: System.String

The name to be scrubbed.

Return Value

Type: System.String

The scrubbed name.