Quotes a name.

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

Syntax

Visual Basic (Declaration)
Protected Overridable Function Quote ( _
	name As String _
) As String
C#
protected virtual string Quote(
	string name
)
Visual C++
protected:
virtual String^ Quote(
	String^ name
)
JavaScript
function quote(name);

Parameters

name
Type: System..::.String
The string that needs to be Quoted.

Return Value

A QuotedName

Remarks

This method assumes that the name is not already Quoted. So if the name passed in is "name then it will return """name". It escapes the first char - the " with "" and encloses the escaped string with OpenQuote and CloseQuote.

See Also