odatalib - Does OData lib support @odata.nextLink on expanded feeds? -
i using odatalib parse odata v4 feeds , entries. 1 of odata feeds returns payload expanded associations this:
{ "@odata.context":"https://myfeed.com/api/data/v8.1/$metadata#accounts(name,account_tasks)","value":[ { "@odata.etag":"w/\"596351\"","name":"account 1","accountid":"5f4c87e4-4952-e611-80dd-c4346bacfc18","account_tasks":[ ],"account_tasks@odata.nextlink":"https://myfeed.com/api/data/v8.1/accounts(5f4c87e4-4952-e611-80dd-c4346bacfc18)/account_tasks" } ] }
note element "account_tasks@odata.nextlink": provides link expanded data. none of odatalib classes seems expose property.
is property exposed odatalib or it's not supported?
it supported in odl, can find in
public uri nextpagelink { { return this.nextpagelink; } set { if (this.deltalink != null && value != null) { throw new odataexception(odataerrorstrings.odatafeed_mustnotcontainbothnextpagelinkanddeltalink); } this.nextpagelink = value; } }
Comments
Post a Comment