You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The inverse relationships are on the Customer models side and have the same effect in $metadata.
However for the customer_premises() relationship, where direct access to the pivot table should be realized, is not transformed into a NavigationPropertyBinding.
The relationships on the pivot model CustomerPremise are:
Hi @27pchrisl,
I have a
Premise
model that is connected via a pivot table to aCustomer
model. On that model I have three relations:The first two relationships are transformed into
NavigationPropertyBinding
s:The inverse relationships are on the
Customer
models side and have the same effect in$metadata
.However for the
customer_premises()
relationship, where direct access to the pivot table should be realized, is not transformed into aNavigationPropertyBinding
.The relationships on the pivot model
CustomerPremise
are:When I try to access the binding, e.g.
Premises(113)?$expand=customer_premises($expand=customer)
I get the expanded customer but not the pivot.Is this desired behaviour? Am I missing something?
How can I access properties on the pivot table?
Any hints welcomed.
The text was updated successfully, but these errors were encountered: