Quotes a name for being used as a aliasname
Namespace: NHibernate.DialectAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
public virtual string QuoteForAliasName( string aliasName ) |
Visual Basic |
---|
Public Overridable Function QuoteForAliasName ( _ aliasName As String _ ) As String |
Visual C++ |
---|
public: virtual String^ QuoteForAliasName( String^ aliasName ) |
Parameters
- aliasName
- Type: System..::..String
Name of the alias
Return Value
A Quoted name in the format of OpenQuote + aliasName + CloseQuoteRemarks
Original implementation calls QuoteForTableName(String)
Remarks
If the aliasName is already enclosed in the OpenQuote and CloseQuote then this method will return the aliasName that was passed in without going through any Quoting process. So if aliasName is passed in already Quoted make sure that you have escaped all of the chars according to your DataBase's specifications.