title: EF7: Foreign Keys are not generated when adding to Database Context
body: <p>I'm currently using Entity Framework 7.0.0-beta3 and am trying to create a many-to-many relationship between two tables. For that I'm using the syntax from <a href="https://stackoverflow.com/questions/29442493/how-to-create-a-many-to-many-relationship-with-latest-nightly-builds-of-ef7">The answer of this question</a>, minus the ICollections:</p>
  
  <pre><code>public class Permissions
  {
      public Guid PermissionId { get; set; }
      public string Name { get; set; }
      public string Description { get; set; }
  }
  public class relUserPermissions
  {
      public string UserId { get; set; }
      public ApplicationUser User { get; set; }
      public Guid PermissionId { get; set; }
      public Permissions Permission { get; set; }
  }
  </code></pre>
  
  <p><code>ApplicationUser</code> is referring to the <code>AspNetUsers</code> Table. Using the kpm migration tool, this will create the <code>relUserPermissions</code> Table with foreign keys to both <code>AspNetUsers</code> and <code>Permissions</code>.</p>
  
  <p>As I'm trying to access this via LINQ, I need to add the relation to the Database Context, using <code>public DbSet&lt;relUserPermissions&gt; relUserPermission { get; set; }</code>. But once I add that line, the foreign key to <code>Permissions</code> is no longer generated, the foreign key to <code>AspNetUsers</code> still is.</p>