Query: Multiple round trips for nav prop projections #6750
Labels
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
type-bug
Milestone
Hi all.
When i use multiple reference to same entity sql query is not generated properly.
Model:
DBContext
Query1
When executing this query
SQL is generated in 3 steps (requests):
So if subject table has +100K resords this is very unefficient.
Query2
Let's change model little. Just change BlaID field from int? to int:
In this case SQL query is as expected:
Is this bug or something else ?
Technical details
EF Core version: 1.0.1
Operating system: Windows 10 Pro
Visual Studio version: 2015 update 3
The text was updated successfully, but these errors were encountered: