Hi,
the LLBLGen handbook states:
There are in general 4 ways to map entity / class hierarchies (inheritance hierarchies) onto a set of tables / views:
1) Complete hierarchy mapped onto a single table. In LLBLGen Pro this is called TargetPerEntityHierarchy. This is the inheritance type which is very easy to implement and therefore supported by most O/R mappers.
2) Every type in a hierarchy mapped onto its own table, no discriminator column. In LLBLGen Pro this is called TargetPerEntity. This inheritance type is hard to implement, most O/R mappers fall back to option 3.
3) Every type in a hierarchy mapped onto its own table, with discriminator column in root type. Similar to option 2, and because LLBLGen Pro doesn't need a discriminator column for option 2, this type is supported but the discriminator column is ignored / not required.
I have a TargetPerEntity relationship in my database and would like to set it up as 3) instead of 2).
The reason is, that it would he helpful for the reporting engine and other clients beside LLBLGen accessing the database to know what type is present.
How could I implement 3) please?
Thanks,
Patrick