I'm using SQLite-Net-Pcl in Xamarin.Forms application, I have created a singleton dataStore class for all my database methods. What is the best practice for creating a SQLiteConnection? Should there be a private readonly connection object on your class and use it in all your db operations. Or should you use create a new SQLiteConnection in every method? Also should I use a lock() statement around my db code?
lock(lockerObj)
{
// db code
}