How to make changes to a WP7 MVVM database without reinstalling app

I'm using a MVVM database in a WP7 app. My problem is that when I change the core database (by adding another column etc) the app requires a reinstall, otherwise it just crashes.

If I release my app to the marketplace and then change the database, every user that updates will brick their app.

How do I make changes to the database without requiring a reinstall? Or is it a case where I can NEVER change the database structure?

The tutorial I originally followed is here: http://msdn.microsoft.com/en-us/library/hh286405(v=vs.92).aspx

Cheers,

Cameron

Answers


It is possible to change the database schema without breaking it using the techniques decribed at http://msdn.microsoft.com/en-us/library/hh202860(v=vs.92).aspx in the section Changing database schema near the end of the article.


Need Your Help

Using JQuery ajax to call a PHP file, process, but stay on same page

jquery

This code is working (as is) on a live site. I am attempting to run it on localhost via XAMPP but addToCart.php is not being called.

SecurityManager and XSLT extensions in Java7 Update4 broken?

java security xslt java-7 xslt-extension

the Java application FreeMind uses XSLT to update from old files. The XSLT uses a static java function to simplify string operations. This works fine up to Java 7 update 2 and gives the following