我正在尝试获取Customer的所有数据。但是,await mODataClient.For ("Customers").Skip (0).FindEntriesAsync()
返回null。我无法弄清楚我做错了什么。我正在尝试获取 Northwind客户数据
using Simple.OData.Client;
private IEnumerable <IDictionary<string,object>> myCustomers;
mODataClient = new ODataClient ("http://services.odata.org/Northwind/Northwind.svc/");
try
{
myCustomers =await mODataClient.For ("Customers").Skip (0).FindEntriesAsync();
}
catch
{
await DisplayAlert("Error", "Connection Error", "OK", "Cancel");
}