-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
EF Core Can't Delete a FullAuditedAggregateRoot Entity with ValueObject(Owned Type) #2365
Comments
Thank you for reporting. Will work on this in the next version. |
@yinchang0626 |
@maliming |
When deleting a FullAuditedAggregateRoot Entity with ValueObject(Owned Type).
EntityFrameworkCore will throw an exception:
I think it should be related to ISoftDelete, because of Book Entity is going to modify IsDeleted to true,but i don't know why Owned Type is set to Deleted by EF
And I modifyed BookStore sample to test it
I hope someone tell me what is wrong,thanks
After running database migration,
Add a Book entity success but when i delete it ,will get an above exception.
The text was updated successfully, but these errors were encountered: