-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Query: FromSql with auto-included navigations sharing same table #21781
Labels
Milestone
Comments
Also @AndriySvyryd wrote
|
Also see #14525 which is about FromSql for whole query (query root + all includes) |
13 tasks
Notes from triage:
|
smitpatel
added a commit
that referenced
this issue
Aug 1, 2020
Revert to 3.1 behavior Part of #21781
smitpatel
added a commit
that referenced
this issue
Aug 3, 2020
Revert to 3.1 behavior Part of #21781
Blocked on #21888 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is not about owned entities which are eagerly loaded always and share table by convention.
This is specifically about user configuration when table is shared and also the navigation is marked as AutoInclude.
If user specify FromSql on an entity sharing table (principal/dependent either side is fine), and if the other side is getting included due to AutoInclude, is it good assumption to make that FromSql will also provide the data about the other side?
Currently since there is no ownership or weak entity, each entity type is separate query root and they use their own mapping so the other side will generate a join and get data from the table where it is stored.
The text was updated successfully, but these errors were encountered: