我成功地跑與NorthWind.sdf在LinqPad下面的語句: from s in Shippers
select new
{
s.ShipperID,
s.CompanyName,
Count=s.ShipViaOrders.Count()
}
與此同時,我無法運行與OData服務(http://services.odata.org/nor
我試圖使用,查看計算器中最長的帖子: https://data.stackexchange.com/stackoverflow/query/new 我做: select max(body) from posts;
,並返回: You'd be looking to static link (as opposed to dynamically link)
I'm not sure how
我對WCF DataServices(OData)相當陌生,我需要知道在客戶端實例化實體容器而不硬編碼URI的最佳方式。好像所有的MSDN上的例子描述實例像這樣的客戶: Uri uri = new Uri("http://www.someservice.svc");
DataServiceContext svc = new DataServiceContext(uri);
但是,我知道我必須