InPredicateProducersNotInT Method (IEnumerableIEntityFieldCore, IEnumerableT) |
Creates a predicate which is true if there's no object of type T in values, which has for each property P a field in fields with the same name / alias
and the value for property P is equal to the value of the field equivalent in the main query.
Namespace:
SD.LLBLGen.Pro.QuerySpec
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.12.0.0 (5.12.0)
Syntaxpublic static IPredicate NotIn<T>(
this IEnumerable<IEntityFieldCore> fields,
IEnumerable<T> values
)
<ExtensionAttribute>
Public Shared Function NotIn(Of T) (
fields As IEnumerable(Of IEntityFieldCore),
values As IEnumerable(Of T)
) As IPredicate
Parameters
- fields
- Type: System.Collections.GenericIEnumerableIEntityFieldCore
The fields. - values
- Type: System.Collections.GenericIEnumerableT
The values.
Type Parameters
- T
Return Value
Type:
IPredicateUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IEnumerableIEntityFieldCore. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also