dotnet / dotnet/efcore

GroupBy entity subquery

Open
#29,013 1 comment 1 reaction 0 assignees View on GitHub
area-groupby area-query blocked ef6-parity
Dominant language
C#
Stars
14.8k
Forks
3.4k
PR merge metrics
PR metrics pending

Description

Variation of #17653

```C#
customers.GroupBy(c => c.Orders.OrderBy(o => o.OrderDate).FirstOrDefault())
```
This requires pushing the entity subquery in projection and using it.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.