摘要:
1、在操作EF时,出现Unable to update the EntitySet xxx because it has a DefiningQuery and no <InsertFunction> element exists in the <ModificationFunctionMapping> element to support the current operation.一般是表没有设置主键。我在设置之后,问题就解决了。2、在Linq2EF中,若同时操作两个数据库的相同表实体,会出现重复字段报错的问题。这时,需要修改 其中一个Designer.cs,使得其 阅读全文
posted @ 2012-12-18 13:41
瓜王
阅读(288)
评论(0)
推荐(0)

浙公网安备 33010602011771号