DataSourceAggregateDescriptorFactory
Methods
Add(System.Linq.Expressions.Expression)
Specifies member on which aggregates to be calculated.
Parameters
expression - System.Linq.Expressions.Expression<Func>
The Aggregates set for the DataSource
Example
.DataSource(dataSource => dataSource
.Custom()
.Aggregates(aggregates =>
{
aggregates.Add(p => p.UnitsInStock).Min();
})
)
Add(System.String,System.Type)
Specifies member on which aggregates to be calculated.