Identical semantics to And() to allow more readable queries

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

Syntax

C#
IQueryOver<TRoot, TSubType> Where(
	Expression<Func<TSubType, bool>> expression
)
Visual Basic
Function Where ( _
	expression As Expression(Of Func(Of TSubType, Boolean)) _
) As IQueryOver(Of TRoot, TSubType)
Visual C++
IQueryOver<TRoot, TSubType>^ Where(
	Expression<Func<TSubType, bool>^>^ expression
)

Parameters

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

Return Value

criteria instance

See Also