Table-per-Type vs Table-per-Hierarchy Inheritance
In this article we will compare the performance of both most used inheritance types – Table-per-Hierarchy (TPH) and Table-per-Type (TPT), supported by LinqConnect starting from version 2.00. For a better understanding of these inheritance types, we will use the Model First approach when the object model is developed first and after that the database scheme is generated.
To develop an object model, the Entity Developer tool will be used.
Our tests are performed on the following object model:
We have a hierarchy of three entity classes: the base class Gadget and its descendants – MobilePhone and Netbook.
(more…)

Facebook
Twitter
Google+
Linkedin
YouTube