Reputation:
In every time I restart the Emulator,I lose the database that I created. Is there any way to to save it so I can use it next time I use the Emulator ? And can I access a database stored in my computer through the Emulator ?
Upvotes: 0
Views: 229
Reputation: 1959
Windows Phone Power Tools will allow you to copy your database file from the emulator to your PC and vice-versa.
Upvotes: 0
Reputation: 7624
To your first question - No, but you can avoid restarting the emulator between sessions. That way the local storage will be held intact.
To your second question - No, at least not as a replacement for the internal database inside the emulator. You could probably write some custom logic to have your code query some sample data, however?
Upvotes: 1