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