Hello,
This question is a followup to this question: https://www.llblgen.com/tinyforum/Messages.aspx?ThreadID=23766
Basically I'm trying to configure an inheritance (Target per Entity Hierarchy) for a single table. I've made a new entity, that is a subtype of my root entity.
The problem is, in LLBLGen, we have the column I was to use as a discriminator surfacing as an enum in .Net. This keeps me from selecting this field in the UI as it is not showing. Also, we have quite a lot of code already written around this enum field, so I'd rather leave this alone.
I'm hoping there is a way I can work around this, obviously I could configure a new calculated field in my database that is the exact same value, and surface this one as an int, but that seems like overkill. I was hoping there was an option to fix this solely within LLBLGen.
** Edit: So I've found I need to set a discriminator value for the root entity. I'd kind of like to keep my root Entity alone (Discriminator = null), and it's mapped to all rows (including my child entities), and have my child Entity only map to what is specified in the discriminator.
Any ideas?
--Michael