这一例外的含义是什么? 在什么地方,我可以找到这种例外的理由?
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 MyModel.FK_T_WORKER_VEHICLE_T_VEHICLE 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
I am using edmx with code generation set to Default. The pocos are in different project then the edmx file.