data disappearing

Apr 10, 2011 at 5:21 PM

I updated to the latest changeset, 75964, and now every time I exit out of my app all of the data is gone.

Coordinator
Apr 10, 2011 at 6:38 PM

The default driver for the new version is the memory driver. To persist data in iso, you'll need to pass the isolated storage driver into the database constructor, like .RegisterDatabase<MyDatabase>(new IsolatedStorageDriver()) ... if you are already doing that than we've got other problems, but I'll be testing that as part of testing the upgrade feature so if there is an issue it will be addressed.

Apr 10, 2011 at 7:12 PM

Where is IsolatedStorageDriver coming from? It doesn't seem to exist. Haven't had to deal with this till now.

Coordinator
Apr 10, 2011 at 7:40 PM

It's a new DLL to add - if you see the source drop you'll see a project for isolated storage on the windows phone. Reference that and add the driver and you're in business.

I'm not done with the changes for this current version on the phone yet, I'll be posting a more detailed blog with instructions once that's done and we go to alpha for testing before the final release.