-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Closed
Description
As discussed in dotnet/efcore#17068, the examples on this page, while fine with LINQ to objects, don't work with LINQ to SQL because databases don't tend to support this type of query. Group joins kind of worked in older version of EF, but would mysteriously become slow because of silent client-side evaluation. EF Core 3 fortunately provides a runtime error, although its exception is confusing, leading to questions like this.
A great big "don't try this at home" warning on this doc page with a clear explanation of EF's limitations would save a lot of developer headaches.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
- ID: 0de690d2-fba4-ce90-964f-4a4eaa99e05f
- Version Independent ID: 28d797c1-3fe1-c867-fd17-dbacb6728109
- Content: Perform grouped joins (LINQ in C#)
- Content Source: docs/csharp/linq/perform-grouped-joins.md
- Product: dotnet-csharp
- Technology: csharp-linq
- GitHub Login: @BillWagner
- Microsoft Alias: wiwagn