Home » Code First

Tag Archives: Code First

Implementing Inheritance with Entity Framework Code First

1. Introduction This walkthrough is an introduction to implementing inheritance with Entity Framework, Code First approach. A simple strategy for mapping database tables might be “one table for every persistent class”. This approach sounds simple enough and, indeed, works very well until I encountered inheritance. The requirement I was tasked with was simple, develop and implement a database for books. In ...

Read More »