Convert a lambda expression to NHibernate ICriterion

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

Syntax

C#
public static ICriterion ProcessExpression<T>(
	Expression<Func<T, bool>> expression
)
Visual Basic
Public Shared Function ProcessExpression(Of T) ( _
	expression As Expression(Of Func(Of T, Boolean)) _
) As ICriterion
Visual C++
public:
generic<typename T>
static ICriterion^ ProcessExpression(
	Expression<Func<T, bool>^>^ expression
)

Parameters

expression
Type: System.Linq.Expressions..::..Expression<(Of <(<'Func<(Of <(<'T, Boolean>)>)>>)>)>
The lambda expression to convert

Type Parameters

T
The type of the lambda expression

Return Value

NHibernate ICriterion

See Also