When implemented by a class, return a String representation of the value, suitable for embedding in an SQL statement

Namespace: NHibernate.Type
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
string ObjectToSQLString(
	Object value,
	Dialect dialect
)
Visual Basic
Function ObjectToSQLString ( _
	value As Object, _
	dialect As Dialect _
) As String
Visual C++
String^ ObjectToSQLString(
	Object^ value, 
	Dialect^ dialect
)

Parameters

value
Type: System..::..Object
The object to convert to a string for the SQL statement.
dialect
Type: NHibernate.Dialect..::..Dialect

[Missing <param name="dialect"/> documentation for "M:NHibernate.Type.ILiteralType.ObjectToSQLString(System.Object,NHibernate.Dialect.Dialect)"]

Return Value

A string that contains a well formed SQL Statement.

See Also