在使用WCF RIA Services时所要注意的,不断更新中……

1.在SL中查询时,记得using System.ServiceModel.DomainServices.Client,否则会出现xxx.GetxxxQuerys()不出现Take、Where等等扩展方法,也不能 from x in xxx.xxxx where。

会报如下异常:未能为源类型“System.ServiceModel.DomainServices.Client.EntityQuery<xxx>”找到查询模式的实现。找不到“Where”。 

posted @ 2010-06-03 03:48 李宏 阅读(200) 评论(1) 编辑 收藏