title: EF7 beta5: Foreign Key returns null value
body: <p>I have created an API using ASP.NET5 and Entity Framework 7.0.0-beta 5. </p>
  
  <p>I have the Model, DbContext and the Repository created, and when I try to retrieve data from my database I get all the data, except the foreign key data.</p>
  
  <p>The foreign key value is always null.</p>
  
  <p><strong>DbContext</strong></p>
  
  <pre><code>public class MrBellhopContext : DbContext
  {
  
      public DbSet&lt;Company&gt; Company { get; set; }
      public DbSet&lt;CompanyStatus&gt; CompanyStatus { get; set; }
  
      protected override void OnModelCreating(ModelBuilder modelBuilder)
      {
          modelBuilder.Entity&lt;Company&gt;().Table("Company");
          modelBuilder.Entity&lt;Company&gt;().Key(c =&gt; c.CompanyId);
          modelBuilder.Entity&lt;Company&gt;().Index(c =&gt; c.Name);
          modelBuilder.Entity&lt;Company&gt;().Reference(c =&gt; c.Status).InverseReference().ForeignKey&lt;CompanyStatus&gt;(c =&gt; c.StatusId);
  
          modelBuilder.Entity&lt;CompanyStatus&gt;().Table("CompanyStatus");
          modelBuilder.Entity&lt;CompanyStatus&gt;().Key(c =&gt; c.StatusId);
  
          base.OnModelCreating(modelBuilder);
      }
  
  }
  </code></pre>
  
  <p><strong>Model</strong></p>
  
  <pre><code>public class Company
  {
  
      public int CompanyId { get; set; }
  
      public string Name { get; set; }
  
      public string Email { get; set; }
  
      public CompanyStatus Status { get; set; }
  
      public DateTime CreatedAt { get; set; }
  
      public DateTime UpdatedAt { get; set; }
  
  }
  </code></pre>
  
  <p><strong>Repository</strong> (only get all method)</p>
  
  <pre><code>    public IEnumerable&lt;Company&gt; GetAll()
      {
          return _dbcontext.Company.ToList();
      }
  </code></pre>
  
  <p>Retrieving data using HTTP GET I get all the data, but the value of the foreign key is null:</p>
  
  <p><strong>JSON Response:</strong></p>
  
  <pre><code>0:  {
  CompanyId: 1
  Name: "Hotel Amura"
  Email: "info@hotelamura.com"
  Status: null
  CreatedAt: "2015-01-01T00:00:00"
  UpdatedAt: "2015-01-01T00:00:00"
  }
  </code></pre>
  
  <p><strong>Does anyone know how to get the Foreign Key table data using EF7 query?</strong></p>