Closed ajcvickers closed 3 years ago
1 wouldn't work since GroupBy is final result operator. 2 & 3 should be working. Investigating.
1 works on EF6. Where are we tracking making it work in EF Core? Also, throwing must be reducible node
is clearly a bug.
It used to throw better error message. Something regressed. Looking to improve exception message there too.
3rd was good catch. Identifiers for collection projection got mangled up.
I don't understand what I'm seeing, so recording here for @smitpatel
When run against EF6 (as opposed to EF Core 6.0), all these queries return the same results as L2O, although EF6 ignores the Include. None of them seem to work correctly with EF Core.
Model at end.
1
L2O
EF Core
2
L2O
EF Core
3
L2O
EF Core
Test code: