Click or drag to resize

AggregateSetPredicate Constructor (String, AggregateSetFunction, 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.4.0.0 (5.4.0)
Syntax
public AggregateSetPredicate(
	string memberName,
	AggregateSetFunction functionToApply,
	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.
functionToApply
Type: SD.LLBLGen.Pro.ORMSupportClassesAggregateSetFunction
The function to apply as aggregate function.
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