title: Entity Framework EntityKey / Foreign Key problem
body: <p>As the result of a form post, I'm trying to save a new Brand record. In my view, Gender is a dropdown, returning an Integer, which is populated from ViewData("gender")</p>
  
  <p>I've setup my link as follows:</p>
  
  <pre><code>gID = CInt(Request.Form("Gender"))
  Brand.GenderReference.EntityKey = New EntityKey("DB_ENTITIES.Gender", "Id", gID)
  TryUpdateModel(Brand)
  DB.SaveChanges()
  </code></pre>
  
  <p>Which results in the following error.</p>
  
  <pre><code>Entities in 'DB_ENTITIES.Brand' participate in the 'FK_Brand_Gender' relationship. 0 related 'Gender' were found. 1 'Gender' is expected.
  </code></pre>
  
  <p>Could someone explain the parameters in plain english to me. I've also tried DB.Gender as the first parameter but no joy. </p>