title: Fluent API Table Scaffolding - HasBaseType
body: <p>I have two entities in my project <code>Student</code> and <code>Teacher</code> which share a common base class, <code>AccountModel</code>. The base class contains properties that are required by both students and teachers <em>(semantically, both students and teachers are account holders, and for good practice, this prevents violation of the DRY principle)</em></p>
  
  <p>In my Fluent API config I have:</p>
  
  <pre><code>builder
      .Ignore&lt;AccountModel&gt;();
  
  builder
      .Entity&lt;Student&gt;()
      .HasBaseType&lt;AccountModel&gt;()
      .ToTable("Students");
  
  builder
      .Entity&lt;Teacher&gt;()
      .HasBaseType&lt;AccountModel&gt;()
      .ToTable("Teachers");
  </code></pre>
  
  <p>But when EF scaffolds a migration and generates a new database, I get an <code>AccountModel</code> table, but not a <code>Students</code> or <code>Teachers</code> table. What gives?</p>