摘要: 1)在程序调试时,发生错误:Unable to update the EntitySet 'Users' because it has a DefiningQuery and no <InsertFunction> element exists in the <ModificationFunctionMapping> element to support the current operation经过搜索,发现必须检查数据库中的主键和EF的是否一致。一查,发现,数据库中相应的表没有主键,而EF中却有。2)vs使用技巧也使用vs10一段时间了,但有些更深一 阅读全文
posted @ 2012-10-26 10:13 瓜王 阅读(297) 评论(0) 推荐(0)