My UI editor for Type per entity heirarchy

Posts   
 
    
ianvink
User
Posts: 393
Joined: 15-Dec-2006
# Posted on: 20-Jul-2014 23:31:53   

Entity Framework 6

I have a table, Person, and entity, Person. (Simplified example)

This is the base of a Type per entity hierarchy: Police, Baker, Fireman (eg)

The discriminator is the Person.PersonType. "PERSONBASE", "FIREMAN", "BAKER" etc.

I need to create a grid that has all the people with a drop down for their type.

UI: Jack FIREMAN Bill BAKER Sally POLICE

If I ask the DB Context for the Persons I get only those that are Person.PersonType="PERSONBASE" which is none of course in the DB.

How do I get all the Person records so that I can edit them all in one nice grid?

Ian

daelmo avatar
daelmo
Support Team
Posts: 8245
Joined: 28-Nov-2005
# Posted on: 21-Jul-2014 14:58:16   

Hi Ian,

I think this is more a EF question, isn't? Is the generated code ok? What LLBLGen Designer version did you use?

David Elizondo | LLBLGen Support Team