EntityFramework错误:Unable to update the EntitySet because it has a DefiningQuery 错误截图: 解决方法: 在所操作的数据库表中添加一个主键即可解决此问题