AggregateOperand Class
An aggregate operator which calculates aggregate expressions (MIN, MAX, SUM, etc.)
Namespace: DevExpress.Data.Filtering
Assembly: DevExpress.Data.v24.2.dll
NuGet Package: DevExpress.Data
#Declaration
public class AggregateOperand :
CriteriaOperator,
IAggregateOperand,
ICustomAggregateOperand
#Remarks
The AggregateOperand is used to compose criteria which are based on the collection properties (the “many” end of a one-to-many or many-to-many relationship) to filter the XPCollection. It represents the results of aggregate operations performed on these types of properties.
Note
Aggregate
Operand does not support nested expressions and complex property paths likeMax
. Only names of owned properties are supported:(Document.<Person ID>Last Name) Max
.(Document) - Aggregate
Operand may produce null instead of zero for an empty collection on a server side.
For more information and examples, see How to: Build Complex Criteria.
Tip
You can find examples in the following article: Build Criteria - Cheat Sheet.