IDataStore.Sum Method
.NET Standard 2.x
Computes the sum of a sequence of decimal values that are obtained by invoking a transform function on each row of the primary buffer in DataStore.
Namespace: DWNet.Data
Assembly: DWNet.Data.dll
Overloads
| Method | Description |
|---|---|
| Sum<TModel>(Func<TModel, decimal> selector) | Computes the sum of a sequence of decimal values that are obtained by invoking a transform function on each row of the primary buffer in DataStore. |
| Sum<TModel>(Func<TModel, decimal> selector, Predicate<TModel> predicate) | Computes the sum of a sequence of decimal values that are obtained by invoking a transform function on each row (filtered by a Predicate<TModel> object) of the primary buffer in DataStore. |