Skip to content
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

Support optional/required dependents for all relationships #24977

Open
Tracked by #22952
ajcvickers opened this issue May 25, 2021 · 0 comments
Open
Tracked by #22952

Support optional/required dependents for all relationships #24977

ajcvickers opened this issue May 25, 2021 · 0 comments

Comments

@ajcvickers
Copy link
Member

See #24955 and #12100.

The idea here is to allow the model metadata to indicate that a principal cannot exist without the dependent also existing. We can't generally enforce this in EF Core, but assuming that the data in the database conforms to the model, we can generate more optimized SQL for queries.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant