Merged Entities

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

TLocation = class;

TPerson = class;

[Id('FId', TIdGenerator.IdentityOrSequence)]
TPersonLocation = class
FId: Integer;
 FLocation: TLocation;
TPerson: TPerson;
property Id: Integer read FId write FId;
property Location: TLocation read FLocation write FLocation;
property Person: TPerson read FPerson write FPerson;

I understand you want to save properties from Location and Person objects to be saved directly in the PERSON_LOCATION table, instead of being saved in two different tables?

In this case, this is unfortunately not possible.

As I thought, but thought I'd ask anyway.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.