mardi 18 août 2015

Using SQLite in an Universal Windows library without LINQ

I was previously using System.Data.SQLite in a .NET library, and now want to port this library to an Universal Windows library.

I cannot make the System.Data.SQLite work (since I guess it is not portable), and found only LINQ style SQLite PCL libraries in NuGet ...

Is there a way that I can use good all fashion queries in an Universal Windows App in order to have the same or close syntax as in System.Data.SQLite ?

Something like this :

SQLiteCommand dbCommand = new SQLiteCommand(dbConnection);
dbCommand.CommandText = dbQuery;

SQLiteDataReader reader = dbCommand.ExecuteReader();

Thank you in advance for your help !

Aucun commentaire:

Enregistrer un commentaire