title: The model backing the <Database> context has changed since the database was created
body: <p>The error message :</p>
  
  <blockquote>
    <p>"The model backing the 'AddressBook' context has changed since the database was created.  Either manually delete/update the database, or call Database.SetInitializer with an IDatabaseInitializer instance.  For example, the RecreateDatabaseIfModelChanges strategy will automatically delete and recreate the database, and optionally seed it with new data."</p>
  </blockquote>
  
  <p>I am trying to use the code-first feature and following is what I wrote:</p>
  
  <pre><code>var modelBuilder = new ModelBuilder();
  var model = modelBuilder.CreateModel();
  using (AddressBook context = new AddressBook(model))
  {
      var contact = new Contact
      {
          ContactID = 10000,
          FirstName = "Brian",
          LastName = "Lara",
          ModifiedDate = DateTime.Now,
          AddDate = DateTime.Now,
          Title = "Mr."
  
      };
      context.contacts.Add(contact);
      int result = context.SaveChanges();
      Console.WriteLine("Result :- "+ result.ToString());
  }
  </code></pre>
  
  <p>The context class:</p>
  
  <pre><code>public class AddressBook : DbContext
  {
      public AddressBook()
      { }
      public AddressBook(DbModel AddressBook)
          : base(AddressBook)
      {
  
      }
      public DbSet&lt;Contact&gt; contacts { get; set; }
      public DbSet&lt;Address&gt; Addresses { get; set; }
  }
  </code></pre>
  
  <p>and the connection string:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8" ?&gt;
  &lt;configuration&gt;
      &lt;connectionStrings&gt;
      &lt;add name="AddressBook" providerName="System.Data.SqlClient"  
           connectionString="Data Source=MyMachine;Initial Catalog=AddressBook;
           Integrated Security=True;MultipleActiveResultSets=True;"/&gt;
      &lt;/connectionStrings&gt;
  &lt;/configuration&gt;
  </code></pre>
  
  <p>So, the database name is "AddressBook" and the error happens when I trying to add the contact object to the context. Am I missing anything here?</p>