AggregateOperand Class
An aggregate operator which calculates aggregate expressions (MIN, MAX, SUM, etc.)
Namespace: DevExpress.Data.Filtering
Assembly: DevExpress.Data.v24.2.dll
Declaration
public class AggregateOperand :
CriteriaOperator,
IAggregateOperand,
ICustomAggregateOperand
Related API Members
The following members return AggregateOperand objects:
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
AggregateOperand does not support nested expressions and complex property paths like
Max(Document.<PersonID>LastName)
. Only names of owned properties are supported:Max(Document)
.- AggregateOperand 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.