Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 77050

Handling SQLite PCL ; DB path:

$
0
0

Hi guys,

how can i make sure to use always the same path once the db is created? The issue i have now, every time i start to debug the app on the iOS simulator the app creates a new db..

Im checking also on the path if a Db exists in the code..

var pathLocation System.Environment.GetFolderPath(Environment.SpecialFolder.Personal);
pathlocationdb = System.IO.Path.Combine(pathLocation, "");

how do you guys solved that in your apps?

Thx for answers..


Viewing all articles
Browse latest Browse all 77050

Trending Articles