WCF
文章平均质量分 90
jiangmeiling9921
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
用Entity Framework的edmx 和WCF进行开发时,数据从silverlight端传到wcf 实体被初始化
今天做项目用到Entity Framework 的edmx, Silverlight和WCF技术, 在silverlight商做一个添加实体的方法,在silverlight端赋值,传到wcf方法时,实体就被初始化了,查了好久,原因是:edmx自动生成的实体代码需要修改。 这里的[DataContractAttribute(IsReference=true)需要改成 [Data原创 2012-04-18 10:59:32 · 2095 阅读 · 0 评论 -
This EntitySet of Type 'Data.Tbl_Student' does not support the 'Add' operation.原因
最近在做entity framework +wcf ria项目,遇到一个问题 ,在添加实体时报异常“This EntitySet of Type 'Data.Tbl_Student' does not support the 'Add' operation.”意思是:实体Tbl_Student没有Add方法。找遍网络没有找到原因。后来想想,可能是因为更新了edmx实体,但没有更新域服务原创 2012-06-05 15:40:27 · 1135 阅读 · 0 评论 -
在IIS部署Silverlight应用和WCF RIA Services,出现异常:未能加载文件或程序集“System.ServiceModel.DomainServices.Hosting, Ver
项目用wcf ria +silverlight,发部后,部署到iis上时,报如下错误Invoke operation 'File_GetMenuFileName' failed .远程服务器返回了错误:NotFound。打开事件查看器""Event code: 3008 Event message: A configuration error has occurred. E原创 2012-05-23 16:23:41 · 9013 阅读 · 0 评论
分享