错误信息:缺少对象,An entity with the same identity already exists in this EntitySet RIA
解决方案:
1、如果你的表是要更新的,需要设置主键;
2、identity字段,如果你的数据中这个字段值有零的就特别要注意了。
错误信息:缺少对象,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