This question is locked. New answers and comments are not allowed.
I am having trouble finding samples of how to add objects to a collection of an artificial association.
Say I have two artificial types, Header and Detail.
Header has id property and a collection of Details.
Detail has an id property and a Header property.
The Header property of the detail can be set by something like:
detailObject.SetFieldValue("Header", headerObject);
But on the Header object side of the relationship, I can't find anything for working with collections.
I would think I could get a reference to the collection as some kind of list and then add to it, but I can't find anything.
Any help is appreciated.
,
Say I have two artificial types, Header and Detail.
Header has id property and a collection of Details.
Detail has an id property and a Header property.
The Header property of the detail can be set by something like:
detailObject.SetFieldValue("Header", headerObject);
But on the Header object side of the relationship, I can't find anything for working with collections.
I would think I could get a reference to the collection as some kind of list and then add to it, but I can't find anything.
Any help is appreciated.
,