Build an ICriterion for the given property

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

Syntax

C#
public static LambdaRestrictionBuilder On(
	Expression<Func<Object>> expression
)
Visual Basic
Public Shared Function On ( _
	expression As Expression(Of Func(Of Object)) _
) As LambdaRestrictionBuilder
Visual C++
public:
static LambdaRestrictionBuilder^ On(
	Expression<Func<Object^>^>^ expression
)

Parameters

expression
Type: System.Linq.Expressions..::..Expression<(Of <(<'Func<(Of <(<'Object>)>)>>)>)>
lambda expression identifying property

Return Value

returns LambdaRestrictionBuilder

See Also