title: Unable to create model in mvc 4 due to exception 'multiple cascade paths'
body: <p>I have three model classes:</p>
  
  <ol>
  <li>User.</li>
  <li>Entry.</li>
  <li>EntryLikes.</li>
  </ol>
  
  <p>As follows:</p>
  
  <pre><code>public class User
  {
      [Required]
      public int ID { get; set; }
  
      [Required]
      [DataType(DataType.Text)]
      public string Name { get; set; }
  }
  public class Entry
  {
      [Required]
      public int ID { get; set; }
  
      public int UserID { get; set; }
      [ForeignKey("UserID")]
      public virtual User User { get; set; }
  }
  public class EntryLike
  {
      [Required]
      public int ID { get; set; }
  
      [Required]
      public int UserID { get; set; }
      [ForeignKey("UserID")]
      public virtual User User { get; set; }
  
      [Required]
      public int EntityID { get; set; }
      [ForeignKey("EntityID")]
      public virtual Entry Entry { get; set; }
  }
  </code></pre>
  
  <p>Upon execution I got following exception:</p>
  
  <blockquote>
    <p>Introducing FOREIGN KEY constraint
    'FK_dbo.EntryLikes_dbo.Entries_EntityID' on table 'EntryLikes' may
    cause cycles or multiple cascade paths. Specify ON DELETE NO ACTION or
    ON UPDATE NO ACTION, or modify other FOREIGN KEY constraints. Could
    not create constraint. See previous errors.</p>
  </blockquote>