You can't. You have to have the child entity.
This is because you have to tell Aurelius that one side of the association refers to the other side of the association. You do this by using the MappedBy
parameter of the ManyValuedAssociation
attribute.
This is explained in the ManyValuedAssociation documentation, more specifically this code snipped:
Example using MappedBy parameter:
TMediaFile = class
private
[Association([TAssociationProp.Lazy], [])]
[JoinColumn('ID_ALBUM', [])]
FAlbum: Proxy<TAlbum>;
TAlbum = class
public
[ManyValuedAssociation([], CascadeTypeAllRemoveOrphan, 'FAlbum')]
property MediaFiles: TList<TMediaFile> read FMediaFiles write FMediaFiles;