When attaching the model to the context, the following InvalidOperationException is thrown:
A referential integrity constraint violation occurred: The property values that define the referential constraints are not consistent between principal and dependent objects in the relationship.
My model has a business entity that can have many branch entities.
When posting back values to controller, and trying to attach the business object received from the HTML form, it throws the exception above.