Apply a constraint expressed in SQL, with the given SQL parameter

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

Syntax

Visual Basic (Declaration)
Public Shared Function Sql ( _
	sql As String, _
	value As Object, _
	type As IType _
) As AbstractCriterion
C#
public static AbstractCriterion Sql(
	string sql,
	Object value,
	IType type
)
Visual C++
public:
static AbstractCriterion^ Sql(
	String^ sql, 
	Object^ value, 
	IType^ type
)
JavaScript
NHibernate.Expression.Expression.sql = function(sql, value, type);

Parameters

sql
Type: System..::.String
value
Type: System..::.Object
type
Type: NHibernate.Type..::.IType

See Also