title: How to map inherited entities in EF code-first
body: <p>I'm trying to map the AdventureWorks 2012 sample database to an EF 6.1.3 code-first data layer, and am stuck at how to map the <code>Employee</code> and <code>Person</code> entities. Employee should apparently derive from <code>Person</code>, with a <code>Person.PersonType</code> of <code>EM</code>, but I don't know how to map this using <code>EntityTypeConfiguration&lt;TEntity&gt;</code> 'mapping' classes. Knowing this, I could also map <code>Person</code> to derive from <code>BusinessEntity</code>.</p>