AggregateSetPredicate Constructor (String, AggregateSetFunction, InterpretSetValueCallback, ComparisonOperator, Object, IPredicate) |
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
)
Public Sub New (
memberName As String,
functionToApply As AggregateSetFunction,
valueProducerCallback As InterpretSetValueCallback,
operatorToApply As ComparisonOperator,
operand As Object,
setFilter As IPredicate
)
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.
See Also