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.v19.1.dll

Declaration

public class AggregateOperand :
    CriteriaOperator,
    IAggregateOperand

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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the AggregateOperand class.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

Inheritance

See Also