on 04-12-2017 3:24 PM
Hello there,
I´m currently developing a front end and I´m having issues with the random mock data generation. I have two entities Contracts and Deliveries, they have a relationship over a third table so in the metadata there is no referential constraint for the navigation. Here are some of the bits:
<NavigationProperty Name="to_Deliveries" Relationship="ContractDeliveriesType" FromRole="ContractItemSetPrincipal" ToRole="DeliveriesSetDependent"/>
<Association Name="ContractDeliveriesType">
<End Type="ContractItemSetType" Role="ContractItemSetPrincipal" Multiplicity="1"/>
<End Type="DeliveriesSetType" Role="DeliveriesSetDependent" Multiplicity="*"/>
</Association>
<AssociationSet Name="ContractDeliveries" Association="ContractDeliveriesType">
<End Role="ContractItemSetPrincipal" EntitySet="ContractItemSet"/>
<End Role="DeliveriesSetDependent" EntitySet="DeliveriesSet"/>
</AssociationSet>
As per this link, the mockserver can generate data for associations with no referential constraints. However, this is not the case for me as no data is generated for /ContractItemSet(ContractNumber='101010',ContractItem='10')/to_Deliveries
Any hints on what might be wrong? All other associations that have a referential constraint are working.
User | Count |
---|---|
86 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.