Properties referred by the Principal Role {0} must be exactly identical to the key of the EntityType {1} referred to by the ...

Properties referred by the Principal Role {0} must be exactly identical to the key of the EntityType {1} referred to by the Principal Role in the relationship constraint for Relationship {2}. Make sure all the key properties are specified in the Principal Role.