By obtaining a data command via OnConfigureSelectCommand(TDataCommand,Where,GroupBy,OrderBy) and then running that command, this inversion control method handles the request to obtain TEntityGroup aggregations composed of all TEntity entities in compliance with the Where, then grouped according to the GroupBy and finally sorted in the order defined by OrderBy.

Namespace: Keystone.Carbonite.Diamant
Assembly: Keystone.Carbonite.Diamant (in Keystone.Carbonite.Diamant.dll)

protected override IEnumerable<TEntityGroup> OnGet( 
Where filteringCriteria
GroupBy groupingCriteria
OrderBy orderingCriteria 
)
This language is not supported or no code example is available.

Parameters

filteringCriteria

Type: Where

The filtering criteria.

groupingCriteria

Type: GroupBy

The grouping criteria.

orderingCriteria

Type: OrderBy

The ordering criteria.

Return Value

The requested entity aggregations, ordered.
Exception type Condition

ArgumentException

If a null reference (Nothing in Visual Basic) or empty value is given for the arguments.

Windows, Windows Server, OS X, macOS, iOS, tvOS, Android, Linux, AWS, Azure

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 4.6

Others

Xamarin, Mono