Skip to Content
0
Former Member
Jul 17, 2015 at 08:19 AM

do not keep source when use expand parameter

14 Views

Hi experts,

I am facing an issue that I can't figure out.

I will try to simplify my problem to make it understandable:

I have three entities, demand, position and grappe.

You can find the graph in attached file

Demand's table is stored in a real database, when position and grappe are stored in a cluster database. The id of the cluster is saved in demand.

I can't have a direct access to the positions because I need to know the id of the cluster, so all my URL are build this way :

.../DemandSet('0')/PositionSet

.../DemandSet('0')/GrappeSet

.../DemandSet('0')/PositionSet('0')/Grappe etc

But when I call ".../DemandSet('0')/PositionSet('0')?$expand=Grappe, it called the method GrappeSet_GetEntity but the source is Position and not demand. If I do not have the parameter of Demand, do not have the id of the cluster and then I cannot access my data.


Really appreciate your help !


Please let me know if you need more information from me.

Attachments

graphe.JPG (50.6 kB)