I wonder what you are using for updating a client database when your program is patched?
Let’s take a look at this scenario:
- You have a desktop application (.net, entity framework) which is using sql server compact database.
- You release a new version of your application which is using extended database.
- The user downloads a patch with modified files
- How do you update the database?
I wonder how you are doing this process. I have some conception but I think more experienced people can give me better and tried solutions or advice.
You need a migration framework.
There are existing OSS libraries like FluentMigrator
Entity Framework Code First will also get its own migration framework, but it’s still in beta: