I'd like to know, how can I use SQLite-Net Extensions within Xamarin.Mac project?
I'm using Xamarin Studio 5.9.5, I've created project from Mac->App->Empty project (Unified API). Installed package SQLite-Net Extensions. Here is the beginning of my code:
var db = new SQLiteConnection(???????, dbPath);
db.CreateTable<Stock>();
db.CreateTable<Valuation>();
How can I call SQLiteConnection constructor? I need sqlite platform as first parameter, but there are no SQLite.Net.Platform. dlls added to references.
This answer is not helpful, because there are no such dlls/namespaces (SQLite.Net.Platform). Also I can't find this package - SQLite.Net.Platform.XamarinIOS.
I want to use SQLite-Net Extensions because of its one-to-one, one-to-many.. relationships. My question is How can I create instance of SQLiteConnection?
Why there is no SQLite.Net.Platform.Generic or SQLite.Net.Platform.Win32 dlls in references from that package?
System.Data.Sqliteavailable innugetalong withEntityFrameworkalso innuget?SQLite-Net Extensionsworks withSQLite-Net PCLwhich doesn't have one-param constructor:/ look here: github.com/oysteinkrog/SQLite.Net-PCL/blob/master/src/… @CliveDM I wanted to use extension package cause it's all in one. Code looks very clean. If it's not possible I will have to look for other solutions