模型生成过程中检测到一个或多个验证错误

模型生成过程中检测到一个或多个验证错误:

Tenant_CompanyLocation_Target: : 关系“Tenant_CompanyLocation”中 Role“Tenant_CompanyLocation_Target”的多重性无效。因为 Dependent Role 属性不是键属性,Dependent Role 多重性的上限必须为“*”。
Tenant_Currency_Target: : 关系“Tenant_Currency”中 Role“Tenant_Currency_Target”的多重性无效。因为 Dependent Role 属性不是键属性,Dependent Role 多重性的上限必须为“*”。


有数据的表不能加非空外键
原文地址:https://www.cnblogs.com/MartinLee/p/7622586.html