title: Multiple Inheritance Levels Using Entity Framework TPT
body: <p>Considering the following table schema:</p>
  
  <p><img src="https://i.stack.imgur.com/FvSKk.png" alt="enter image description here"></p>
  
  <p>I want to use Entity Framework Table-Per-Type (Fluent API) to map to the following class diagram:</p>
  
  <p><img src="https://i.stack.imgur.com/CmDl9.png" alt="enter image description here"></p>
  
  <p>How can I do this? I have tried doing it like the examples at the Microsoft site but looks like no example covers a two-depth inheritance scenario and I get errors related to invalid discriminator columns and so on. I am using one <code>EntityTypeConfiguration</code> per type. How can I specify the name of the foreign key cascading down children? </p>
  
  <p>If anyone has an example of how to do such mapping, I would be grateful forever.</p>
  
  <p>Thanks!</p>