Appearance
SumAsync Method
Definition
- Namespace:
JASE.Database - Assembly:
JASE.Database.dll
Overloads
| Name | Description |
|---|---|
Task<Nullable<decimal>> SumAsync(Expression<Func<T, object>> property, bool distinct = null, IPredicateNode predicate = null, CancellationToken ct = null) | Computes the sum of the specified property for rows matching the optional predicate. |
Task<TResult> SumAsync(Expression<Func<T, TResult>> property, bool distinct = null, IPredicateNode predicate = null, CancellationToken ct = null) | Computes the sum of the specified property for rows matching the optional predicate. |
Task<Nullable<decimal>> SumAsync(Expression<Func<T, object>> property, bool distinct = null, IPredicateNode predicate = null, CancellationToken ct = null)
csharp
Task<Nullable<decimal>> SumAsync(Expression<Func<T, object>> property, bool distinct = null, IPredicateNode predicate = null, CancellationToken ct = null)Computes the sum of the specified property for rows matching the optional predicate.
Task<TResult> SumAsync(Expression<Func<T, TResult>> property, bool distinct = null, IPredicateNode predicate = null, CancellationToken ct = null)
csharp
Task<TResult> SumAsync(Expression<Func<T, TResult>> property, bool distinct = null, IPredicateNode predicate = null, CancellationToken ct = null)Computes the sum of the specified property for rows matching the optional predicate.