Create a ICriterion for the specified property subquery expression

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

Syntax

C#
public static LambdaSubqueryBuilder WhereProperty<T>(
	Expression<Func<T, Object>> expression
)
Visual Basic
Public Shared Function WhereProperty(Of T) ( _
	expression As Expression(Of Func(Of T, Object)) _
) As LambdaSubqueryBuilder
Visual C++
public:
generic<typename T>
static LambdaSubqueryBuilder^ WhereProperty(
	Expression<Func<T, Object^>^>^ expression
)

Parameters

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

Type Parameters

T
generic type

Return Value

returns LambdaSubqueryBuilder

See Also