We had the following schema before Target Per Entity (obviously simplified):
Family
FamilyID
Name
Events
EventID
FamilyID
Title
StartDate
EndDate
Tasks
TaskID
FamilyID
Title
Priority
There was a 1:m relationship from Family to Events and also to Tasks.
We used to have the following line of code:
EntityCollection events = family.Events;
Now, with Target Per Entity, we have the following schema (simplified):
Family (no changes)
FamilyID
Name
BaseItem
ID
FamilyID
EntityType
Title
Event
ID
StartDate
EndDate
Task
ID
Priority
We need something similar to:
EntityCollection events = family.Events;
but we only have access to:
EntityCollection events = family.BaseItems;
I tried creating the relationship in the designed (Jan 30th release) but did not have any luck.
I'm assuming that the only way to get what we want is to filter by our EntityType discrimator field?
Any help is appreciated!
Thanks,
Matt