Skip to main content
.NET Framework 4.6.2+

XPQueryExtensions.CustomAggregateAsync<T>(IQueryable<T>, String, Expression<Func<T, Object>>, CancellationToken) Method

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v24.2.dll

Declaration

public static Task<object> CustomAggregateAsync<T>(
    this IQueryable<T> query,
    string customAggregateName,
    Expression<Func<T, object>> argument,
    CancellationToken cancellationToken = default(CancellationToken)
)

Parameters

Name Type
query IQueryable<T>
customAggregateName String
argument Expression<Func<T, Object>>

Optional Parameters

Name Type Default
cancellationToken CancellationToken null

Type Parameters

Name
T

Returns

Type
Task<Object>
See Also