Skip to main content

JoinOperand.Custom(String, IEnumerable<CriteriaOperator>) Method

Creates a new custom JoinOperand with a custom aggregate function.

Namespace: DevExpress.Data.Filtering

Assembly: DevExpress.Data.v24.1.dll

NuGet Package: DevExpress.Data

Declaration

public JoinOperand Custom(
    string customAggregateName,
    IEnumerable<CriteriaOperator> aggregatedExpressions
)

Parameters

Name Type Description
customAggregateName String

A custom aggregate function’s name. This value cannot be null (Nothing in Visual Basic) or match a standard aggregate name: Sum, Min, Max, Avg, Count, Exists, or Single.

aggregatedExpressions IEnumerable<CriteriaOperator>

A collection of aggregated expressions to be assigned to the JoinOperand.CustomAggregateOperands property

Returns

Type Description
JoinOperand

An JoinOperand object that joins persistent objects on a specified condition, and calculates aggregate functions against matching objects.

See Also