INVALID_IDCLASS_DEFINITION_INVALIDATTRIBUTETYPE_CWPRJ1017E=CWPRJ1017E: Key class "{0}" attribute "{1}" type is incorrect. Declared type is: "{2}". Required type is: "{3}".
Explanation
Key classes must define all of the attributes with the same type from the referencing entity class.
User response
Verify that the class or entity metadata definition is valid and resubmit the operation.