I am getting a blue squiggly under this line which starts with SQLiteConnection, not sure what i am missing. I was using SQLiteAsyncConnection, since I read somewhere that it doesn't support methods like InsertWithChildren, thought of trying out the SQLiteConnection class.
string dbPath = Path.Combine(Windows.Storage.ApplicationData.Current.LocalFolder.Path, "db.sqlite"); SQLiteConnection db = new SQLiteConnection(dbPath);
These are the using statements I have on top:
using SQLite.Net; using SQLiteNetExtensions.Extensions;
And this is the error message I am getting
Error 2 'SQLite.Net.SQLiteConnection' does not contain a constructor that takes 1 arguments D:\OneDrive\Projects\SQLiteAsyncConnection Class\sqlite-net\MainPage.xaml.cs 28 31 sqlite-net