Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

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

Revisions


  

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

License

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

Share

About the Author

kshyju
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 www.techiesweb.net.
 
Twitter : kshyju
Blog : TechiesWeb
Follow on   Twitter

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