Skip to main content
.NET Framework 4.6.2+

XPQueryExtensions.SumAsync Method

Name Parameters Description
SumAsync(IQueryable<Decimal>, CancellationToken) static query, cancellationToken Asynchronously calculates a sum of objects’ specific Decimal fields for a query.
SumAsync(IQueryable<Double>, CancellationToken) static query, cancellationToken Asynchronously calculates a sum of objects’ specific Double fields for a query.
SumAsync(IQueryable<Int32>, CancellationToken) static query, cancellationToken Asynchronously calculates a sum of objects’ specific Int32 fields for a query.
SumAsync(IQueryable<Int64>, CancellationToken) static query, cancellationToken Asynchronously calculates a sum of objects’ specific Int64 fields for a query.
SumAsync(IQueryable<Nullable<Decimal>>, CancellationToken) static query, cancellationToken Asynchronously calculates a sum of objects’ specific nullable Decimal fields for a query.
SumAsync(IQueryable<Nullable<Double>>, CancellationToken) static query, cancellationToken Asynchronously calculates a sum of objects’ specific nullable Double fields for a query.
SumAsync(IQueryable<Nullable<Int32>>, CancellationToken) static query, cancellationToken Asynchronously calculates a sum of objects’ specific nullable Int32 fields for a query.
SumAsync(IQueryable<Nullable<Int64>>, CancellationToken) static query, cancellationToken Asynchronously calculates a sum of objects’ specific nullable Int64 fields for a query.
SumAsync(IQueryable<Nullable<Single>>, CancellationToken) static query, cancellationToken Asynchronously calculates a sum of objects’ specific nullable Single fields for a query.
SumAsync(IQueryable<Single>, CancellationToken) static query, cancellationToken Asynchronously calculates a sum of objects’ specific Single fields for a query.
SumAsync<T>(IQueryable<T>, Expression<Func<T, Decimal>>, CancellationToken) static query, selector, cancellationToken Asynchronously calculates a sum of objects’ specific Int64 fields for a query. Uses a lambda expression to obtain values.
SumAsync<T>(IQueryable<T>, Expression<Func<T, Double>>, CancellationToken) static query, selector, cancellationToken Asynchronously calculates a sum of objects’ specific Double fields for a query. Uses a lambda expression to obtain values.
SumAsync<T>(IQueryable<T>, Expression<Func<T, Int32>>, CancellationToken) static query, selector, cancellationToken Asynchronously calculates a sum of objects’ specific Int32 fields for a query. Uses a lambda expression to obtain values.
SumAsync<T>(IQueryable<T>, Expression<Func<T, Int64>>, CancellationToken) static query, selector, cancellationToken Asynchronously calculates a sum of objects’ specific Int64 fields, for a query. Uses a lambda expression to obtain values.
SumAsync<T>(IQueryable<T>, Expression<Func<T, Nullable<Decimal>>>, CancellationToken) static query, selector, cancellationToken Asynchronously calculates a sum of objects’ specific nullable Decimal fields for a query. Uses a lambda expression to obtain values.
SumAsync<T>(IQueryable<T>, Expression<Func<T, Nullable<Double>>>, CancellationToken) static query, selector, cancellationToken Asynchronously calculates a sum of objects’ specific nullable Double fields for a query. Uses a lambda expression to obtain values.
SumAsync<T>(IQueryable<T>, Expression<Func<T, Nullable<Int32>>>, CancellationToken) static query, selector, cancellationToken Asynchronously calculates a sum of objects’ specific nullable Int32 fields for a query. Uses a lambda expression to obtain values.
SumAsync<T>(IQueryable<T>, Expression<Func<T, Nullable<Int64>>>, CancellationToken) static query, selector, cancellationToken Asynchronously calculates a sum of objects’ specific nullable Int64 fields for a query. Uses a lambda expression to obtain values.
SumAsync<T>(IQueryable<T>, Expression<Func<T, Nullable<Single>>>, CancellationToken) static query, selector, cancellationToken Asynchronously calculates a sum of objects’ specific nullable Single fields for a query. Uses a lambda expression to obtain values.
SumAsync<T>(IQueryable<T>, Expression<Func<T, Single>>, CancellationToken) static query, selector, cancellationToken Asynchronously calculates a sum of objects’ specific Decimal fields for a query. Uses a lambda expression to obtain values.