在使用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”。 

原文地址:https://www.cnblogs.com/leehom0123/p/1750440.html