Has i said before, "[Inheritance(TInheritanceStrategy.JoinedTables)]" on TEntity2 definition shouldn't be there
[Entity]
[Table('Entity')]
[Inheritance(TInheritanceStrategy.JoinedTables)]
[Sequence('Id_Entity')]
[Id('FId', TIdGenerator.IdentityOrSequence)]
TEntity = class
private
[Column('Id', [TColumnProp.Required])]
FId: integer;
[Column('Name', [TColumnProp.Required], 50)]
FName: string;
public
property Id: integer read FId write FId;
property Name: string read FName write FName;
end;
[Entity]
[Table('Customer')]
[PrimaryJoinColumn('Id')]
TCustomer = class(TEntity2)
private
[Column('NIF', [TColumnProp.Required], 50)]
FNIF: string;
public
property NIF: string read FNIF write FNIF;
end;
[Entity]
[Table('Entity2')]
[Inheritance(TInheritanceStrategy.JoinedTables)]
[PrimaryJoinColumn('Id')]
TEntity2 = class(TEntity)
private
[Column('Address', [TColumnProp.Required])]
FAddress: integer;
public
property Address: integer read FAddress write FAddress;
end;
[Entity]
[Table('Staff')]
[PrimaryJoinColumn('Id')]
TStaff = class(TEntity)
end;
Please solve this, it's very annoying every time i export to aurelius, correct this manually on a big data base shema, thanks, for your great support
Hi, solved on 2.3.2.
Thanks, great job
Thanks, great job