Click or drag to resize

AggregateSetPredicate Constructor (String, AggregateSetPredicateCallback, InterpretSetValueCallback, ComparisonOperator, Object, IPredicate, Boolean)

Initializes a new instance of the AggregateSetPredicate class.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.7.0.0 (5.7.0)
Syntax
public AggregateSetPredicate(
	string memberName,
	AggregateSetPredicateCallback aggregatorCallback,
	InterpretSetValueCallback valueProducerCallback,
	ComparisonOperator operatorToApply,
	Object operand,
	IPredicate setFilter,
	bool negate
)

Parameters

memberName
Type: SystemString
Name of the member which is the name of the member of the entity this predicate is applied on, on which filter has to be applied.
aggregatorCallback
Type: SD.LLBLGen.Pro.ORMSupportClassesAggregateSetPredicateCallback
The aggregator callback which is called to aggregate over the set of values produced by the individual calls to the valueProducerCallback.
valueProducerCallback
Type: SD.LLBLGen.Pro.ORMSupportClassesInterpretSetValueCallback
The value producer callback which is called for every entity matching the set filter and which should produce a value to aggregate.
operatorToApply
Type: SD.LLBLGen.Pro.ORMSupportClassesComparisonOperator
The operator to apply on the aggregated value.
operand
Type: SystemObject
The value to compare the aggregated value with using the operatorToApply.
setFilter
Type: SD.LLBLGen.Pro.ORMSupportClassesIPredicate
The set filter to determine which elements in memberName form the set the aggregate function to apply on.
negate
Type: SystemBoolean
Negate the comparison operator outcome for the final result of this predicate.
See Also