错误An entity with the same identity already exists in this EntitySet RIA

it2022-05-09  38

错误信息:缺少对象,An entity with the same identity already exists in this EntitySet RIA

解决方案:

1、如果你的表是要更新的,需要设置主键;

2、identity字段,如果你的数据中这个字段值有零的就特别要注意了。

 

转载于:https://www.cnblogs.com/nnkook/archive/2011/12/12/2284556.html


最新回复(0)