Is there a way to have 2 entities merged to make a single entity and automatically create and load from the same table? I'm thinking of something like
[AbstractEntity]
TLocation = class;
[AbstractEntity]
TPerson = class;
[Entity]
[Id('FId', TIdGenerator.IdentityOrSequence)]
TPersonLocation = class
private
FId: Integer;
FLocation: TLocation;
TPerson: TPerson;
public
property Id: Integer read FId write FId;
property Location: TLocation read FLocation write FLocation;
property Person: TPerson read FPerson write FPerson;
end;