title: Why is the Seed method called again in my EF code first migrations scenario?
body: <p>I have a EF code first project and there is how I seed the database</p>
  
  <pre><code>internal sealed class Configuration : DbMigrationsConfiguration&lt;myDB&gt;
      {
          public Configuration()
          {
              AutomaticMigrationsEnabled = false;
              ContextKey = "myDB.Auth.Service.DAL.myDB";
          }
  
          protected override void Seed(myDBdb)
          {
             var mProduct = new Product
               {
                  Name = "default product",
                 CreatedDate = DateTime.Now
              };
  
             db.Products.AddOrUpdate(mProduct);
             db.SaveChanges();
          }
  }
  </code></pre>
  
  <p>I have a wcf service that uses above code. What I realise is that every time I restart the wcf service (either from visual studio or IIS), above code is get called. As a result, multiple "default product" are added into the database, anyone knows why that happened?</p>