title: Creating a one-to-one mapping in Sql server 2008 and Entity Framework 4
body: <p>I have two tables, Customer and CustomerConfiguration that should have a one-to-one mapping.  What I did was make customerId the primary key (and identity) for Customer, and then created a customerId field in CustomerConfiguration that is unique and is mapped to the Customer.customerId.</p>
  
  <p>So this seems to give me what I need, and EF4 picks up on this okay (Im using RIA as well) in that it sees Customer to CustomerConfiguration as a 1 - 0..1 mapping.</p>
  
  <p>But, never having done this, is this the right way to do this?  Are there any gotchas that I need to watch out for?</p>