TObjectManager.Refresh ignores cascade-Refresh

I have modified an Entity and an Entity of a referenced Many Valued Association.

TParent = class
private
  FName: string;
  [ManyValuedAssociation([TAssociationProp.Lazy], CascadeTypeAllRemoveOrphan]
  FChildren: Proxy<TList<TChild>>;
...

hParent := hObjMan.Find<TParent>(1).UniqueResult;
hParent.Name := 'Test';
hParent.Children[0].Name := 'Test2';
hObjMan.Refresh(hParent);

so hParent.Children[0].Name will stay Test2...
Checking hObjMan.HasChanges will return true afterwards, because hParent.Children[0] was not refreshed...

It's by design., Please refer to:

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.