title: Entity Framework - Store parent reference on child relationship (one -> many)
body: <p>I have a setup like this:</p>
  
  <pre><code>[Table("tablename...")]
  public class Branch
  {
      public Branch()
      {
          Users = new List&lt;User&gt;();
      }
      [Key]
      public int Id { get; set; }
      public string Name { get; set; }
      public List&lt;User&gt; Users { get; set; }
  }
  
  [Table("tablename...")]
  public class User
  {
      [Key]
      public int Id {get; set; }
      public string Username { get; set; }
      public string Password { get; set; }
      [ForeignKey("ParentBranch")]
      public int? ParentBranchId { get; set; } // Is this possible?
      public Branch ParentBranch { get; set; } // ???
  }
  </code></pre>
  
  <p>Is it possible for the User to know what parent branch it belongs to?  The code above does not populate the ParentBranch.</p>
  
  <p>Entity Framework version 5.0
  .NET 4.0
  c#</p>