I am a newbie to the Entity Framework concept. I recently implemented a project using Entity Framework 4.1 Code First Approach. Now that I am working on a fix for some bugs, the require me to add more attributes to the model (resulting in changes to DDL), I am restricted with not entrusting Entity Framework to recreate the database for me. If I use the Entity Framework to recreate the DB, I will loose my existing data. What are my options? Can I create a T-SQL Script for just the DDL changes and deploy them? How can keep a track of these changes over time? Help!!!
Share
Are you using source control? If yes that is the answer for your last question.
Database power pack mentioned in comment does exactly this (it is dependent on VS Studio Database tools) but it does it only if you are using EDMX file (model first).