title: Entity Framework creates new record instead of "linking to" existing record
body: <p><img src="https://i.imgur.com/dbaR8sU.png" alt="Database"></p>
  
  <p>I am using <code>IdentityModels</code> to add some extra data to my <code>ApplicationUser</code> (<code>UserProperties</code>).</p>
  
  <p>Here's the UserProperties class:</p>
  
  <pre><code>    public UserProperties()
      {
          Region = new Region();
          Universe = new Universe();
      }
  
      public int UserPropertiesId { get; set; }
      public Region Region { get; set; }
      public Universe Universe { get; set; }
  </code></pre>
  
  <p>The issue at hand is that whenever the user creates an account, they must select a region and a universe, but instead of "linking" the region and universe to the UserProperties' entries, Entity Framework creates <em>new</em> entires in Universes and Regions, even though the IDs supplied to the AccountController for the region and universe <strong>are correct</strong> (i.e. they exist in the DB).</p>
  
  <p>How can I fix this?</p>
  
  <p>If you need any more information, please let me know.</p>