title: Entity Framework Code First One to One relationship on composite key
body: <p>Basically what I am trying to achieve is I have three tables, one parent will always have an entry in it and only one of the other two tables will be populated. The complexity that I am dealing with is that the primary key for the tables is the combination of two fields</p>
  
  <pre><code>ParentTable
  -----------
  UniqueID
  OwnerID
  [Some more fields]
  
  
  ChildTable1
  -----------
  UniqueID
  OwnerID
  [Some more fields]
  
  
  ChildTable2
  -----------
  UniqueID
  OwnerID
  [Some more fields]
  </code></pre>
  
  <p>I was wondering if anyone has any suggestions on how best to do this through EF Code First preferably using the Fluent API.</p>