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. 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.
This answer is not helpful, because there is no such namespace. 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?
Aucun commentaire:
Enregistrer un commentaire