Skip to main content
A newer version of this page is available. .

AggregateOperand Class

An aggregate operator which calculates aggregate expressions (MIN, MAX, SUM, etc.)

Namespace: DevExpress.Data.Filtering

Assembly: DevExpress.Data.v21.2.dll

NuGet Packages: DevExpress.Data, DevExpress.Win.Design

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

  • 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.

Inheritance

See Also