title: The ObjectContext might be in an inconsistent state
body: <p>I have an Error creatting relations whith EntityFramework 4.0 </p>
  
  <p>The changes to the database were committed successfully, but an error occurred while updating the object context. The ObjectContext might be in an inconsistent state.
   Inner exception message: Metadata information for the relationship 'CodeFirstNamespace.EventsIndex_Module' could not be retrieved. If mapping attributes are used,
   make sure that the EdmRelationshipAttribute for the relationship has been defined in the assembly.  When using convention-based mapping, metadata information for
   relationships between detached entities cannot be determined.
  Parameter name: relationshipName</p>