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)

Syntax

Visual Basic (Declaration)
Public MustOverride Function ObjectToSQLString ( _
	val As Object _
) As String
C#
public abstract string ObjectToSQLString(
	Object val
)
Visual C++
public:
virtual String^ ObjectToSQLString(
	Object^ val
) abstract
JavaScript
function objectToSQLString(val);

Parameters

val
Type: System..::.Object
The object to convert to a string for the SQL statement.

Return Value

A string that containts a well formed SQL Statement.

Implements

ILiteralType..::.ObjectToSQLString(Object)

See Also