-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Description
This issue is about enabling following query.
context.Customers.GroupJoin(context.Orders, c => c.CustomerID, o => o.CustomerID, (c, os) => new {c, os}).ToList();
// or
from c in context.Customers
join o in context.Orders on c.CustomerID equals o.CustomerID into os
select { c, os}
We will not client eval GroupJoin in any of following cases
- When GroupJoin operator is followed by any other query operator
- When you apply any other operator before select in comprehension syntax (2nd query above)
- When you compose over
os
in above query in any form
All above unsupported cases will still throw client evaluation exception even after this issue is fixed.
GroupJoin operator in query which is used to generated LeftJoin in SQL as described in our documentation is supported and will remains so. Even after that use case, if you still need EF Core to client eval GroupJoin operator with aforementioned constraints please upvote this issue. We are not looking to client eval any other GroupJoin which appears in the middle of the query.
mustafa-allamy, craighutch, schil227, belangervince, nghieppv and 41 more