C# Class ZocBuild.Database.Util.ObjectNameTrimmer

Utility for removing extraneous characters from an object's name.
Exibir arquivo Open project: Zocdoc/ZocBuild.Database Class Usage Examples

Public Methods

Method Description
TrimObjectName ( string objectName ) : string

Formats a database object identifier in a consistent way.

This method will remove leading and trailing whitespace and remove the bracket characters used by T-SQL to escape.

Method Details

TrimObjectName() public static method

Formats a database object identifier in a consistent way.
This method will remove leading and trailing whitespace and remove the bracket characters used by T-SQL to escape.
public static TrimObjectName ( string objectName ) : string
objectName string The identifier to format.
return string