Skip to content

Add check constraints for required columns in TPH #6

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
bricelam opened this issue May 14, 2020 · 2 comments
Closed

Add check constraints for required columns in TPH #6

bricelam opened this issue May 14, 2020 · 2 comments

Comments

@bricelam
Copy link
Member

See dotnet/efcore#2595

@bricelam
Copy link
Member Author

Personally, I think this should be part of EF Core--not this extension--since it would make SaveChanges throw when required properties contain null.

@roji
Copy link
Member

roji commented Sep 18, 2020

Discussed within the EF team, and this should happen as part of EF Core rather than in this external plugin.

@roji roji closed this as completed Sep 18, 2020
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants