I’m using Entity Framework Code First. The database initialization works great for creating the database and tables.
I was wondering if there’s a way to make the process less destructive… rather than issuing DROP / CREATE statements when the schema changes, is there any way (via an off-the-shelf Initializer, or otherwise) to issue ALTER statements to update my schema?
You should look into Code First Data Migrations, I’ve not used it myself but I believe it’s what you are looking for.
http://blogs.msdn.com/b/adonet/archive/2012/02/09/ef-4-3-released.aspx
To help those that come along later, you should be able to follow these instructions to get it all setup : http://blogs.msdn.com/b/adonet/archive/2012/02/09/ef-4-3-code-based-migrations-walkthrough.aspx