In testing project with 3 classes, with no automap .
I have 2 Proxy<Tlist> in the one master class and constructor/destructor with SetInitialValue/DestroyValue.
I am trying to remove a child object with:
manager.Remove(tim.lines.Items[0]);
and I am getting the following message:
Project raised exception class EInvalidEntity with message 'Class TFastMM_FreedObject is not a valid Entity. [Entitiy] attribute missing'
The tim.lines is declared as:
[ManyValuedAssociation([TAssociationProp.Lazy], CascadeTypeAllRemoveOrphan,'Ftimol')]
Flines:proxy<TList>;
.....
property lines:TList read Getlines;
....
function Ttim.gettaxes: TList;
begin result:=Ftaxes.Value; end;
FastMM5 is used in debug mode. Any ideas?