title: Skip navigation has no foreign key defined
body: <p><strong>Context</strong></p>
  <p>I am following the examples of the new Many-to-Many relationship modelling in Entity Framework Core, referenced here:</p>
  <p><a href="https://docs.microsoft.com/en-us/ef/core/modeling/relationships?tabs=fluent-api%2Cfluent-api-simple-key%2Csimple-key#many-to-many" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/ef/core/modeling/relationships?tabs=fluent-api%2Cfluent-api-simple-key%2Csimple-key#many-to-many</a></p>
  <p>and by the team building it here (expand the July 23 2020 post): <a href="https://github.com/dotnet/efcore/issues/19549" rel="nofollow noreferrer">https://github.com/dotnet/efcore/issues/19549</a></p>
  <p>I have done this with a new .NET Web API project - the only change being that in my model I am using Staff and Team objects rather than the Post and Tag objects in the example.</p>
  <p><strong>My setup</strong></p>
  <ul>
  <li>macOS 10.15.7 (Catalina)</li>
  <li>.NET Framework 5.0.101</li>
  <li>EF version 5.0.1</li>
  </ul>
  <p><strong>The problem</strong></p>
  <p>When I run a migration, EF creates the lookup table in the generated SQL code as the documentation describes, even though there is no lookup object defined. This is great.</p>
  <p>However, after I apply the SQL changes and run the app, when I access an API endpoint I get an error saying:</p>
  <p><code>The skip navigation 'Staff.Teams' has no foreign key defined.</code></p>
  <p>I am confused by this as the examples do not have foreign keys defined in their models.</p>
  <p>I've done some looking around but haven't managed to find a similar issue.</p>
  <p>Wondering if this could be an issue with .NET on macOS.</p>
  <p>Thanks.</p>