Quotes a name for being used as a tablename

Namespace:  NHibernate.Dialect
Assembly:  NHibernate (in NHibernate.dll)

Syntax

Visual Basic (Declaration)
Public Overridable Function QuoteForTableName ( _
	tableName As String _
) As String
C#
public virtual string QuoteForTableName(
	string tableName
)
Visual C++
public:
virtual String^ QuoteForTableName(
	String^ tableName
)
JavaScript
function quoteForTableName(tableName);

Parameters

tableName
Type: System..::.String
Name of the table

Return Value

A Quoted name in the format of OpenQuote + tableName + CloseQuote

Remarks

If the tableName is already enclosed in the OpenQuote and CloseQuote then this method will return the tableName that was passed in without going through any Quoting process. So if tableName is passed in already Quoted make sure that you have escaped all of the chars according to your DataBase's specifications.

See Also