dotnet / dotnet/efcore

GroupBy owned entity

Open
#29,018 0 comments 0 reactions 0 assignees View on GitHub
area-groupby area-query needs-design
Dominant language
C#
Stars
14.8k
Forks
3.4k
PR merge metrics
PR metrics pending

Description

Grouping by a collection cannot be translated to SQL.
So only possibility is grouping by owned reference. Given it is an owned entity, there can only be one owner to it hence grouping by the owner will generate the same grouping and owned navigation would be available on grouping key.

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.