title: The principal end of this association must be explicitly configured
body: <p>I am trying to create tables through code-first approach. I have two tables "CrimeReport" and "ReportDescription" and they have one to one relationship.</p>
  
  <pre><code>[Table("CrimeReport")]
      public class CrimeReport
      {
          [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
          [Key]
           public  int  ImageId { get; set; }
           public virtual ReportDescription ReportDescription { get; set; }
  
      }
  
  
      [Table("ReportDescription")]
      public class ReportDescription
      {
  
  
  
          [Key]
          public int ImageId { get; set; }
          public virtual CrimeReport CrimeReport { get; set; }
  
      }
  </code></pre>
  
  <p>I am getting an exception when I write the command "add-migration try" inside package console.</p>
  
  <blockquote>
    <p>Unable to determine the principal end of an association between the types 'codefirst.Models.ReportDescription' and 'codefirst.Models.CrimeReport'. The principal end of this association must be explicitly configured using either the relationship fluent API or data annotations.'</p>
  </blockquote>