You code seems to be generated by Data Modeler, so in this case you can ask Data Modeler to add the many-valued association in this section:
Select and check the Many-Valued Association you want to add to mapping and it will be generated. In the case of your mapping, you have this:
[ManyValuedAssociation([TAssociationProp.Lazy], CascadeTypeAllRemoveOrphan)]
FDOC_MOV_MAG_R: Proxy<TList<TDOC_MOV_MAG_R>>;
function Get_DOC_MOV_MAG_R: TList<TDOC_MOV_MAG_R>;
But then in your mapping you didn't add the ForeignJoin
column, which you should do, as specified here: https://download.tmssoftware.com/business/aurelius/doc/web/manyvaluedassociation.html