Click or drag to resize

AggregateSetPredicate Constructor (String, AggregateSetFunction, IExpression, ComparisonOperator, Object, IPredicate)

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,
	IExpression valueProducer,
	ComparisonOperator operatorToApply,
	Object operand,
	IPredicate setFilter
)

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.
valueProducer
Type: SD.LLBLGen.Pro.ORMSupportClassesIExpression
The value producer for each element in the set. The value produced by the value producer is added to the set.
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