title: How to pre/populate database records with CodeFirst approach?
body: <p>I'm trying to write application using TDD and CodeFirst in ASP.NET MVC following 20486B training course guide, but I've stumbled upon a technical/methodology issue which I'll try to describe here. When I'll be coding my application I'd like to prepopulate the database which will be rebuilt each time I build/run/publish the app (as I am understanding CodeFirst). First that came to mind was to create a <code>initial_data.sql</code> script file with a bunch of inserts/updates on tables which will be fired up every build/run/publish of my app. It may work with small initial data set, but what when I would have to modify the application, which already would have a larger set of data in the database? </p>
  
  <p>How can I "include" my <code>initial_data.sql</code> file each time Database is being rebuilt? 
  and second question<br>
  How I can CodeFirst on an existing database preserving records that are already in there?</p>