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
Exception: The entity of type 'Entity' is sharing the table 'Entity' with entities of type 'Entity.OwnedEntity#OwnedEntity', but there is no entity of this type with the same key value '{Id: -2147482647}' that has been marked as 'Added'.
I am unable to insert when there is one or more owned entities (no nested entities).
It's working with DBContext.
Using:
Exception:
The entity of type 'Entity' is sharing the table 'Entity' with entities of type 'Entity.OwnedEntity#OwnedEntity', but there is no entity of this type with the same key value '{Id: -2147482647}' that has been marked as 'Added'.
It's a known issue.
See: EF Core 2 Owned Entities and Temporary Work-Arounds
Would be nice to have a fix or at least a roadmap to fix this in the trackable entities.
The text was updated successfully, but these errors were encountered: