Convert a lambda expression to NHibernate subquery AbstractCriterion

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

Syntax

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

Parameters

subqueryType
Type: NHibernate.Impl..::..LambdaSubqueryType
type of subquery
expression
Type: System.Linq.Expressions..::..Expression<(Of <(<'Func<(Of <(<'T, Boolean>)>)>>)>)>
lambda expression to convert

Type Parameters

T
type of member expression

Return Value

NHibernate.ICriterion.AbstractCriterion

See Also