title: Entity Framework DB-First, implement inheritance
body: <p>I'm trying to implement inheritance using entity framework 6.0 and database first approach. OK, let's say I have a <code>Person</code> and an <code>Organization</code> entity like below:</p>
  
  <pre class="lang-cs prettyprint-override"><code>// a simplified version of organization entity
  public class Organization
  {
      public Guid ID { get; set; }
      public string Nickname { get; set; }
      public string Email { get; set; }
      public string PhoneNumber { get; set; }
      public string OfficialName { get; set; }
      public Guid CEOID { get; set; }
      public DateTime? RegisterDate { get; set; }
  }
  
  // a simplified version of person entity
  public class Person
  {
      public Guid ID { get; set; }
      public string Nickname { get; set; }
      public string Email { get; set; }
      public string PhoneNumber { get; set; }
      public Guid PersonID { get; set; }
      public string FirstName { get; set; }
      public string LastName { get; set; }
      public string MiddleName { get; set; }
      public string NationalCode { get; set; }
      public DateTime? BirthDate { get; set; }
  }
  </code></pre>
  
  <p>I can create these two tables in database, but I want to use inheritance so the fields which is repeated in both <code>Person</code> and <code>Organization</code> could be in another base class like below:</p>
  
  <pre class="lang-cs prettyprint-override"><code>public class Identity
  {
      // These fields are the common fields between Person and Organization
      public Guid ID { get; set; }
      public string Nickname { get; set; }
      public string Email { get; set; }
      public string PhoneNumber { get; set; }
  }
  </code></pre>
  
  <p>How can I achieve this in db-first approach?</p>