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?