This EntitySet of Type 'Data.Tbl_Student' does not support the 'Add' operation.原因
来源:互联网 发布:软件验收单模板 编辑:程序博客网 时间:2024/04/30 15:14
最近在做entity framework +wcf ria项目,遇到一个问题 ,在添加实体时报异常“This EntitySet of Type 'Data.Tbl_Student' does not support the 'Add' operation.”
意思是:实体Tbl_Student没有Add方法。
找遍网络没有找到原因。
后来想想,可能是因为更新了edmx实体,但没有更新域服务,才导致这个错误,重新从数据库更新模型,再重新生成或新建域服务类。OK,问题好了。
- This EntitySet of Type 'Data.Tbl_Student' does not support the 'Add' operation.原因
- 绑定到异步的ObservableCollection [This type of CollectionView does not support changes to its SourceColl]
- A workgroup installation computer does not support the operation
- AutoComplPop does not support this version of vim (700)
- invalid operation: token.Claims["ID"] (type jwt.Claims does not support indexing) #143
- the application is not licensed to create or modify schema for this type of data
- this instrument does not support osx
- This cache store does not support tagging
- This cache store does not support tagging.
- SQL Server setup media does not support the language of the OS or does not have ENU localized files.
- SQL Server setup media does not support the language of the OS or does not have ENU localized files.
- sqoop导入错误:Hive does not support the SQL type for column col_name
- sqoop导数类型不支持解决方法:Hive does not support the SQL type for column
- how to resovle The type 'UserControl' does not support direct content
- This version does not support documents saved in the Xcode 8
- The server does not support version 3.0 of the J2EE Web module specification
- The server does not support version 3.0 of the J2EE Web module specification
- The server does not support version 2.5 of the J2EE Web module specification.解决方案
- SEH stack 结构探索(4)--- __exception_handler4() 探秘2之 scopetable 结构
- list容量限制测试
- adb download file to /system
- MongoDB 一些基本操作<二>
- 有关asp.net的cookie对象的学习
- This EntitySet of Type 'Data.Tbl_Student' does not support the 'Add' operation.原因
- 给明年依然年轻的我们:道别150万年薪,开始盒饭生活(转载)
- vim 好用技巧总结
- “谷歌钱包”的 中国借鉴
- java内存原型分析
- DBGrid间隔行颜色
- 用 PHP 进行 HTTP 认证
- 如何打开vsd文件
- Android .mk文件语法规范及使用模板