Click here to Skip to main content
12,500,666 members (76,436 online)
Click here to Skip to main content
Add your own
alternative version

Stats

28.7K views
9 bookmarked
Posted

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.

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

No alternatives have been posted.

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

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