Is there an example docs on using a set of inherited entities in a ManyValuedAssociation - sort of like this?
TmyBaseObject = class;
TmyInheritedObject = class(TmyBaseObject);
TmyInheritedObject2 = class(TmyBaseObject);
TmyParentObject = class
[ManyValuedAssociation]
FMyChildren: TList<TmyBaseObject >
end;
would that work?
wlandgraf
(Wagner Landgraf)
2
Yes, it works, as long you configure your inheritance hierarchy properly with the attributes as described in documentation: