错误截图:

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

解决方法:

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

相关文章: