12 January 2016
- Last edited 12 January 2016
An error occurred while saving entities that do not expose foreign key properties for their relationships. The EntityEntries property will return null because a single entity cannot be identified as the source of the exception. Handling of exceptions while saving can be made easier by exposing foreign key properties in your entity types. See the InnerException for details. INNER EXCEPTION: A relationship from the 'Topic_Posts' AssociationSet is in the 'Deleted' state. Given multiplicity constraints, a corresponding 'Topic_Posts_Target' must also in the 'Deleted' state.