Click or drag to resize

AllAnyPredicateProducers Class

Extension methods to produce All/Any based predicates (NOT EXISTS, EXISTS).
Inheritance Hierarchy
SystemObject
  SD.LLBLGen.Pro.QuerySpecAllAnyPredicateProducers

Namespace:  SD.LLBLGen.Pro.QuerySpec
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.11.0.0 (5.11.23.1114)
Syntax
public static class AllAnyPredicateProducers

The AllAnyPredicateProducers type exposes the following members.

Methods
  NameDescription
Public methodStatic memberAll
Creates a predicate which has to be true for all elements in query, which is equal to NOT EXISTS(QUERY.Where(NOT predicate))
Public methodStatic memberAny(QuerySpec)
Creates a predicate which has to be true it there's at least one element in query, which is equal to EXISTS(QUERY)
Public methodStatic memberAny(QuerySpec, IPredicate)
Creates a predicate which has to be true for at least one element in query, which is equal to EXISTS(QUERY.Where(predicate))
Top
Remarks
Uses adapter field instances for expression wrapping, as it doesn't matter: the expression will emitted into the output, not the field containing it.
See Also