As described in Docs
Aurelius allows polymorphism.
Regarding Mapping Examples, it looks like it's working for Joined-Tables.
if I would like to put AbstractEntities within SingleTable, strategie, how can I do it?
For Example:
[Entity]
[DiscriminatorColumn('Type', TDiscriminatorType.dtString)]
TFiles = class...
[AbstractEntity]
TImages = class(TFiles)...
[Entity]
[DiscriminatorValue('JPEG')]
TJPEG = class(TImages )...
[Entity]
[DiscriminatorValue('GIF')]
TGIF = class(TImages )...
Building the Model, it raises "Class TImages is not a valid Entity." ...
It works, if TImages has Attribute [Entity] as described in exception, but I don't want TImages to be instantiable at all.
Also TImages provides some Fields, that are not provided to the TFiles-Table.