Create ICriterion for (some) subquery expression using lambda syntax

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

Syntax

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

Parameters

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

Type Parameters

T
type of property

Return Value

NHibernate.ICriterion.AbstractCriterion

See Also