Entity Framework code first and Inheritance–Table per hierarchy

added by jalpesh
7/4/2014 4:58:16 AM


Before some day I have posted a blog about Entity Framework code first and Inheritance – Table per type and this post in next in series with that. In previous post we have learned about how entity framework code first handles inheritance and in this part we are going to extend this and modify some of code of the code of data context to see how its creates a “Table per Hierarchy”. We’re going to use same code as previous post just going to change EDataContext code like below.