title: An Entity with Key (PK) will not round-trip
body: <p>I have two tables: <code>&lt;subjects&gt;</code> and <code>&lt;prerequisites&gt;</code>. The primary key of prerequisite table is a composite key: <code>pr_subject_id</code> and <code>pr_prerequisite_subject_id</code> . They are both foreign keys from the <code>&lt;subjects&gt;</code> table. I can map the pr_subject_id in a association but i can't map the return trip (<code>pr_prerequisite_subject_id</code>). See image. How should i solve this?</p>
  
  <p><strong>note</strong>: When i made the associations in sql server it was fine but when i loaded the database in the entity framework, the entity framework dropped the prerequisite table because of this return trip association.</p>
  
  <p><img src="https://i.stack.imgur.com/zc2oM.png" alt="enter image description here"></p>
  
  <p><img src="https://i.stack.imgur.com/IUWBd.png" alt="enter image description here"></p>