CSharpMigrationCodeGenerator.ScrubName(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Removes any invalid characters from the name of an database artifact.
protected virtual string ScrubName (string name);
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2141:TransparentMethodsMustNotSatisfyLinkDemandsFxCopRule")]
protected virtual string ScrubName (string name);
abstract member ScrubName : string -> string
override this.ScrubName : string -> string
Protected Overridable Function ScrubName (name As String) As String
Parameters
- name
- String
The name to be scrubbed.
Returns
The scrubbed name.
- Attributes
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework