title: Help mapping Domain model with EF4.1 fluent API?
body: <p>I'm new to EF and the fluent API.  My DBA decided he wanted to map the "primary" citizenship of a person with an Is_Primary flag in the citizenships table.  So our DB looks something like this:</p>
  
  <pre><code>**Person Table**
  Person_Id    int           identity  (PK)
  First_Name   nvarchar(30)
  ...
  
  **Citizenship_Table**
  Citizenship_Person_Id  int identity  (PK)
  Person_Id              int
  Country_Code           char(2)
  Is_Primary             byte
  ...
  
  **Country_Table**
  Country_Code     char(2)  (PK)
  Country_Name     varchar(30)
  ...
  </code></pre>
  
  <p>I really don't want the Is_Primary flag in my domain model.  Instead, I want my domain to look something like this:</p>
  
  <pre><code>public class Person
  {
     public int Id {get; set;}
     ...
     public virtual ICollection&lt;Country&gt; Citizenships {get; set;}
     public Country PrimaryCitizenship {get; set;}
  }
  
  public class Country
  {
     public int Code {get; set;}
     public string Name {get; set;}
  }
  </code></pre>
  
  <p>Is there a way to map this scenario?</p>