EntityFramework错误:Unable to update the EntitySet because it has a DefiningQuery

错误截图:

解决方法:

在所操作的数据库表中添加一个主键即可解决此问题

posted @ 2016-09-19 18:58  zhaotianff  阅读(2882)  评论(0编辑  收藏  举报