EF Table Per Type with Navigation property on Sub Type Table
问题 I'm hoping someone out in the SO community will be able to help me out here. Simplified Background: I'm using Entity Framework V1 to build my class structure that is outlined below, I'm using Table Per Type to persist my inherited objects: Employee CaseA : Case CaseB : Case CaseC : Case CaseB has a Navigational Property to Employee I have a Repository that returns an ObjectQuery. If the type of Case is actually CaseB, I need to include the Employee object within the graph. I can't .Include(