title: Getting Error "The model backing the 'DBContext' context has changed since the database was created. "
body: <p>I know This question is duplicate I found one solution too but this is four year old question and I think in these years the EntityFramework is on different level so I want to ask this question again. Here is the answer which I found and try to apply on entity Framework 5.0 but does not work</p>
  
  <p><a href="https://stackoverflow.com/questions/3600175/the-model-backing-the-database-context-has-changed-since-the-database-was-crea">The model backing the &lt;Database&gt; context has changed since the database was created</a></p>
  
  <p>here is my entity model classes first one is this</p>
  
  <pre><code>    public class Student
  {
      public int StudentId {get; set;}
      [StringLength(250),Required]
      public string StudentName {get; set;}
      [StringLength(20),Required]
      public string Standard {get; set; }
      [StringLength(250),Required]
      public string Address {get; set; }
      [StringLength(250),Required]
      public string Emailid {get; set; }
      [StringLength(12),Required]
      public string Phoneno {get; set; }
  
  }
  </code></pre>
  
  <p>and Second Model Class is this </p>
  
  <pre><code>    public class Marks
  {
  
      public int MarksID { get; set; }
      public int StudentId { get; set; }
      public int English { get; set; }
      public int Maths { get; set; }
      public int Science { get; set; }
      public int SocialStudy { get; set; }
      public int Hindi { get; set; }
      public int Total { get; set; }
      public Student student { get; set; }
  
  }
  </code></pre>
  
  <p>and this is my context class </p>
  
  <pre><code> public class DBContext:DbContext
  {
      public DBContext()
      {
          Database.SetInitializer&lt;DbContext&gt;(new DropCreateDatabaseAlways&lt;DbContext&gt;());
      }
  
      public DbSet&lt;Student&gt; TbStudent { get; set; }
      public DbSet&lt;Marks&gt; TbMarks { get; set; }
  }
  </code></pre>
  
  <p>I run this code and Getting this error </p>
  
  <p>The model backing the 'DBContext' context has changed since the database was created. Consider using Code First Migrations to update the database (<a href="http://go.microsoft.com/fwlink/?LinkId=238269" rel="nofollow noreferrer">http://go.microsoft.com/fwlink/?LinkId=238269</a>).</p>
  
  <p>Please expert help me regarding this issue </p>