xamarin - Simple.OData.Client: expand related entities -


i've pcl xamarin.forms project , trying expand related entities of parent table using simple.odata.client. when try enumerate returned object, execution fails. code

    async task getdata()     {         v4adapter.reference();          odataclient client =new odataclient("https://myservice.net/odata/");          ienumerable<articoli> articoli = await client             .for<articoli>()             .filter(x => x.codart == "123")             .expand(x => x.magazzini)             .findentriesasync();          foreach (var in articoli)  //*** here execution stops ***         {             var d = an.descr;         }    } 

may there better way read data returned, don't know how.


Comments

Popular posts from this blog

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -