.net 4.0 从3.5升级到4时edmx文件中出现警告

.net 4.0 从3.5升级到4时edmx文件中出现警告,.net-4.0,entity-framework-4,.net-3.5,migration,edmx,.net 4.0,Entity Framework 4,.net 3.5,Migration,Edmx,我将我的解决方案从.NET3.5更新到了4.0,感谢上帝,我只需要解决一些小问题。 但我不明白的是,edmx文件产生了许多类似这样的警告: Error 2005: Mapping Association 'FK_CP_C' is redundant: Its referential integrity constraint provides sufficient information. You can safely delete the mapping information for this

我将我的解决方案从.NET3.5更新到了4.0,感谢上帝,我只需要解决一些小问题。 但我不明白的是,edmx文件产生了许多类似这样的警告:

Error 2005: Mapping Association 'FK_CP_C' is redundant:
Its referential integrity constraint provides sufficient information.
You can safely delete the mapping information for this association.
你曾经遇到过这种情况吗?
我是否应该冒险删除关联?
我试着用谷歌搜索,但什么也找不到


谢谢

好了,仅供参考,我之前备份了该项目,删除了那些报告错误的关联,更新了模型,警告也消失了

我没有注意到是什么样的关联导致了这些警告


希望这可能对将来的人有所帮助。

谢谢你回答自己的问题,这对我很有帮助。