On part 1 and part 2 I explored how to apply 2 different inheritance models (TPH & TPT) in Entity Framework.
In this part I'm going to demonstrate associations between 2 base
entities. And how to filter end properties to return specific type (sub
entity).
Read More
In the previous part I discussed Table-per-Hierarchy Inheritance, in this part I'll go through Table-per-Type Inheritance model. There is a video demonstrating this model if you wish to watch. Here I'll update my previous sample with new entities that demonstrate the Table-per-Type Inheritance model. For the differences between 2 models and definitions return to 1st part.
Read More