title: Is it acceptable to put seed data in the OnModelCreating method in EF code-first?
body: <p>I know how to do seed data with the migrations API in EF 4.3. I've been playing with that all night. However, my ultimate goal is to get my project to the point where a user can pull it from source control and press F5 and they are good to go, database, seed data, and all.</p>
  
  <p>Currently code-first does an excellent job of building the DB on a fresh build but seed data isn't inserted until I do Update-Database in the package manager console. At that point it runs the seed method and inserts my seed data.</p>
  
  <ol>
  <li>Is it okay to just do that in the OnModelCreating method?</li>
  <li>Can I still take advantage of the AddOrUpdate extension method here?</li>
  <li>Will this seed data be run every time I press F5? If so, can I detect if the DB has already been created or not and only add this seed data on initial database creation?</li>
  </ol>