年末总结4
刚开始学习EntityFramWork时,有次重新执行数据库模型(Update Model Form Database~)
遇到这样的一个提示:
Unable to update the Entityset’User’ because it has a DefiningQuery and no “InsertFunction” balabala
记得去检查使用的表是否设置了主键
本文记录了使用EntityFramework过程中遇到的问题:在尝试更新数据库模型时收到错误提示,问题与表中未设置主键有关。
年末总结4
刚开始学习EntityFramWork时,有次重新执行数据库模型(Update Model Form Database~)
遇到这样的一个提示:
Unable to update the Entityset’User’ because it has a DefiningQuery and no “InsertFunction” balabala
记得去检查使用的表是否设置了主键
2475
872
249
186

被折叠的 条评论
为什么被折叠?