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

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

Syntax

C#
public static AbstractCriterion Sql(
	SqlString sql,
	Object[] values,
	IType[] types
)
Visual Basic
Public Shared Function Sql ( _
	sql As SqlString, _
	values As Object(), _
	types As IType() _
) As AbstractCriterion
Visual C++
public:
static AbstractCriterion^ Sql(
	SqlString^ sql, 
	array<Object^>^ values, 
	array<IType^>^ types
)

Parameters

sql
Type: NHibernate.SqlCommand..::..SqlString

[Missing <param name="sql"/> documentation for "M:NHibernate.Criterion.Expression.Sql(NHibernate.SqlCommand.SqlString,System.Object[],NHibernate.Type.IType[])"]

values
Type: array<System..::..Object>[]()[][]

[Missing <param name="values"/> documentation for "M:NHibernate.Criterion.Expression.Sql(NHibernate.SqlCommand.SqlString,System.Object[],NHibernate.Type.IType[])"]

types
Type: array<NHibernate.Type..::..IType>[]()[][]

[Missing <param name="types"/> documentation for "M:NHibernate.Criterion.Expression.Sql(NHibernate.SqlCommand.SqlString,System.Object[],NHibernate.Type.IType[])"]

Return Value

[Missing <returns> documentation for "M:NHibernate.Criterion.Expression.Sql(NHibernate.SqlCommand.SqlString,System.Object[],NHibernate.Type.IType[])"]

See Also