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

Parameters

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

Return Value

criteria instance

See Also