By obtaining a data command via OnConfigureSelectCommand(TDataCommand,GroupBy,OrderBy,Paging) and then running that command, this inversion control method handles the request to obtain TEntityGroup aggregations composed of all TEntity entities in the read segment defined by TPagingCriteria, 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( 
GroupBy groupingCriteria
OrderBy orderingCriteria
Paging pagingCriteria 
)
This language is not supported or no code example is available.

Parameters

groupingCriteria

Type: GroupBy

The grouping criteria.

orderingCriteria

Type: OrderBy

The ordering criteria.

pagingCriteria

Type: Paging

The paging criteria.

Return Value

All entity aggregations in the read segment, 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