Currently I'm creating my database with the help of sqlite-net, sqlite-net-wp8 and SQLite for Windows Phone the following way:
public async void Create()
{
SQLiteAsyncConnection db = new SQLiteAsyncConnection(Path.Combine(ApplicationData.Current.LocalFolder.Path, "localdatabase.db"));
await db.CreateTableAsync<Sample>().ContinueWith((results) =>
{
Debug.WriteLine("Sample table created!");
});
}
I followed this tutorial.
My problem is that since it creates the localdatabase.db file in the app's isolated storage, I can't interact with it, and at every build debug, the database gets erased. I'd like to save it as a file, so I can access it from the solution explorer.
How can I do that?