EF 新增数据时提示it has a DefiningQuery and no <InsertFunction> element exists in the <ModificationFunctionMapping> element
2016-07-03 14:31
507 查看
it has a DefiningQuery and no <InsertFunction> element exists in the <ModificationFunctionMapping> element
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.
检查该 Entity 对应的 表是否没有主键,设置表的主键,确保Entity的主键和表的主键一致相关文章推荐
- 极光推送的使用
- DirectionControlView 一个方向控制自定义View
- iOS OOP 面向对象编程基本概念
- HBuild Hybrid App开发(九)首次启动轮播页的制作
- 招聘一个靠谱的ios
- Android Fragment 真正的完全解析(下)
- Android Fragment 真正的完全解析(上)
- Android项目Tab类型主界面大总结 Fragment+TabPageIndicator+ViewPager
- IOS开发笔记(Swift):通过ShareSDK和TYAlertController实现分享功能
- Android 复习2 有关activity
- 在android下使用opencv
- 创建一个Android程序
- 手机机型及品牌,App推广平台有哪些
- 绑定本地Service并与之通信
- ubuntu16安装android studio2.1
- 【面试必备】Swift 面试题及其答案
- Android 数据库开发(一)SQLite3概述
- iOS学习(二)Objective-C 第一个OC程序
- Swift中switch强大的模式匹配
- Swift中switch强大的模式匹配