Hi,
I have an entity (EC001) which has an 1:n relation with EC002 this entity has an 1:1 relation with EC003 and EC006.
EC002.Groep = EC003.Groep
EC002.Item = EC006.Item
Now when I fetch 1 row from EC001 and fetch its related EntityCollection EC002 I would like to select the 1:1 objects also.
Dim EC001Obj as new Ec001Entity("Key1", "Key2")
Using adapter as new DataAccesAdapter
adapter.FetchEntity(EC001Obj, Nothing)
adapter.FetchEntityCollection(EC001Obj.Ec002, EC001Obj.GetRelationInfoEc002)
End Using
'That fills EC001Obj.Ec002 with the related EC002 objects but EC002(0).Ec003 and EC002(0).Ec006 are still 'Nothing'. Is there a way to fetch the 1:1 relational objects as well?
Thanks in advance