Walaa,
Thanks for the fast reply! One question remains regarding collections: Lets say I have an 1:n collection between _ParentEntity _and ChildEntity, and my additional class extends _ChildEntity _(let's say it's called SpecificChild.
To get my regular entities, I'll just fetch them like this:
//get the child group collection
EntityCollection<ChildEntity> childs= parentGroup.Childs;
adapter.FetchEntityCollection(childs, parentGroup.GetRelationInfoChilds());
Is there a way to populate parentGroup.Childs with _SpecificChild _ instances directly or do I have to create a collection of _SpecificChild _instances with one call (as in your sample) and adding them to the Childs-collection manually?
Edit: Regarding your sample, the docs say that the empty construtor of EntityCollection should not be used - submitting an IEntityFactory is recommended. However, could this be a solution (injecting a SpecificChild factory into the parent)?
Thanks again
Philipp