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

'hasOwnProperty' in javascript -

python - ValueError: No axis named 1 for object type <class 'pandas.core.series.Series'> -

java - How to provide dependency injections in Eclipse RCP 3.x? -