Create an ICriterion for the negation of the supplied LambdaExpression
Namespace: NHibernate.CriterionAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
public static ICriterion WhereNot<T>( Expression<Func<T, bool>> expression ) |
Visual Basic |
---|
Public Shared Function WhereNot(Of T) ( _ expression As Expression(Of Func(Of T, Boolean)) _ ) As ICriterion |
Visual C++ |
---|
public: generic<typename T> static ICriterion^ WhereNot( Expression<Func<T, bool>^>^ expression ) |
Parameters
- expression
- Type: System.Linq.Expressions..::..Expression<(Of <(<'Func<(Of <(<'T, Boolean>)>)>>)>)>
lambda expression
Type Parameters
- T
- generic type