Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3280

SMP OData SDK - Defining request capabilities

$
0
0

I am looking for a solution for the below use case

 

I have entities some of them are related, like in the below example.

Project -> User. Project entity performs $expand on User to retrieve all users related to the project item.

Customer -> Order. Similar to above relationship.


I'm unable to provide multiple $expand within the same OfflineStore while opening it, such as

Project?$expand User

Customer?$expand Order



Does the SDK support multiple expand within the same store ? Or should it be multiple stores ? I also heard there is a limitation on the number of stores.

I definitely think it is poor design to have multiple stores to achieve this.



Secondly,

Does the OData SDK have the capability to perform multiple levels of  $expand, like the example below.

Example:

/Categories(1)?$expand=Products/Supplier


I would like to download all the data including the related entities into one store.


Entity1 -> Entity2

Entity2-> Entity3

Entity3 -> Entity4 -> Entity5

Entity3 -> Entity6 -> Entity7



Viewing all articles
Browse latest Browse all 3280

Trending Articles