You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The entities cannot be deleted if they both implement ISoftDelete and have owned entities.
When I debug, the EF is trying to set the fields of the owned entity to null, which is violating not-null constraint for owned entity fields. When you try to make the fields nullable, this time you get int, double and bool fields cannot be null exception.
Expected behavior
EF should not try to set the fields to null.
The text was updated successfully, but these errors were encountered:
Describe the bug
The entities cannot be deleted if they both implement ISoftDelete and have owned entities.
When I debug, the EF is trying to set the fields of the owned entity to null, which is violating not-null constraint for owned entity fields. When you try to make the fields nullable, this time you get int, double and bool fields cannot be null exception.
Expected behavior
EF should not try to set the fields to null.
The text was updated successfully, but these errors were encountered: