We're updating the issue view to help you get more done. 

Add integration tests with GroupBy

Description

Add a few integration tests using GroupBy to DomainObjects\Core\Linq\IntegrationTests (add a GroupByIntegrationTest) file:

  • Group, then call some aggregate function (e,g., Count) on the result.

  • Group into a grouping, then select group key and a few aggregate functions (e.g., Sum (o => o.OrderNumber), Count(), Min (o => o.OrderDate), Max).

  • Group at the top level, then expect an exception with a good exception message why this is not supported.

  • Group within a sub-query in a from clause (e.g., from ordersByCustomer in CreateLinqQuery<Order>.GroupBy (o => o.Customer) select new { ordersByCustomer.Key.Name, ordersByCustomer.Count() }).

Assignee

Fabian Schmied

Reporter

Fabian Schmied

Labels

None

Time tracking

1h

Components

Fix versions

Priority

Normal
Configure