C# Class ZocBuild.Database.Util.ObjectNameTrimmerExtensions

Show file Open project: Zocdoc/ZocBuild.Database

Public Methods

Method Description
TrimObjectName ( this 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 ( this objectName ) : string
objectName this The identifier to format.
return string