Click here to Skip to main content
12,246,406 members (39,440 online)
Click here to Skip to main content


9 bookmarked

Entity Framework Code First Inheritance : Table Per Hierarchy and Table Per Type

, 5 Jun 2012 CPOL
Recently i answered a question in stackoverflow about how to create separate tables for each sub type when handling inheritance. Today i thought of expanding it with some sample source code and share it here. While working with data driven applications, Some times we need to implement Inheritance in



Compare Revision Minor Date Status Editor
3 - publicly available No 5-Jun-12 15:37 Pending kshyju
Added relevant tags. deleted the extra markup
2 No 5-Jun-12 14:43 Pending Sean Ewington
Updates in content. 70 changes had been made.
1 No 28-May-12 12:00 Pending kshyju


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Software Developer (Senior)
United States United States
Shyju is a curious developer who loves to build highly scalabale and robust software on top of Microsoft development stack. He is a strong believer in test driven development and occasionally writes Tips & Tricks on ASP.NET MVC, Entity Framework, jQuery in his technical blog

Twitter : kshyju
Blog : TechiesWeb

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.160426.1 | Last Updated 5 Jun 2012
Article Copyright 2012 by kshyju
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid