title: How to implement inheritance Table-Per-Type in Entity Framework 4.3 via Code First approach?
body: <p>I have this class hierarchy in code:</p>
  
  <pre><code>[Table("A")]
  public class A : IIdentification
  {
      public int id { get; set; }
  }
  
  [Table("B")]
  public class B : A
  {
      //some properties here
      public Aid { get; set;}
      ForeignKey("Aid");
      public A A { get; set; }
  }
  
  [Table("C")]
  public class C : B
  {
      //some properties here 
      public Bid { get; set; }
      ForeignKey("Bid");
      public B B { get; set; }
  }
  
  [Table("D")]
  public class D : C
  {
      public Cid { get; set;}
      ForeignKey("Cid");
      public C C { get; set; }
  }
  </code></pre>
  
  <p>How can I make one table with a foreign key for each class or any other possible correct way?
  Maybe someone could post some sample how to achieve it?</p>
  
  <p>Maybe this is trivial question but I've spent whole day, implemented many solutions described in topics and it still not work. So I'll be very grateful if someone could help me with that.</p>