dotnet / efcore

EF Core is a modern object-database mapper for .NET. It supports LINQ queries, change tracking, updates, and schema migrations.
https://docs.microsoft.com/ef/
MIT License
13.8k stars 3.2k forks source link

Error when filtered include is used on owned entities #35135

Open roji opened 3 days ago

roji commented 3 days ago

By design, we do not support filtering out owned entities (parts of an aggregate); users who attempt to do so should get a fail-fast, informative error message that this isn't supported.