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