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#
public abstract string ObjectToSQLString(
	Object value,
	Dialect dialect
)
Visual Basic
Public MustOverride Function ObjectToSQLString ( _
	value As Object, _
	dialect As Dialect _
) As String
Visual C++
public:
virtual String^ ObjectToSQLString(
	Object^ value, 
	Dialect^ dialect
) abstract

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.PrimitiveType.ObjectToSQLString(System.Object,NHibernate.Dialect.Dialect)"]

Return Value

A string that containts a well formed SQL Statement.

Implements

ILiteralType..::..ObjectToSQLString(Object, Dialect)

See Also