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<bool>> expression
)
Visual Basic
Function Where ( _
	expression As Expression(Of Func(Of Boolean)) _
) As IQueryOver(Of TRoot, TSubType)
Visual C++
IQueryOver<TRoot, TSubType>^ Where(
	Expression<Func<bool>^>^ expression
)

Parameters

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

Return Value

criteria instance

See Also