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<T>(
	Expression<Func<T, Object>> expression
)
Visual Basic
Public Shared Function On(Of T) ( _
	expression As Expression(Of Func(Of T, Object)) _
) As LambdaRestrictionBuilder
Visual C++
public:
generic<typename T>
static LambdaRestrictionBuilder^ On(
	Expression<Func<T, Object^>^>^ expression
)

Parameters

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

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "M:NHibernate.Criterion.Restrictions.On``1(System.Linq.Expressions.Expression{System.Func{``0,System.Object}})"]

Return Value

returns LambdaRestrictionBuilder

See Also