Skip to content

Warn that group joins don't work with database #15649

@breyed

Description

@breyed

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions