vendredi 2 janvier 2015

Sqlite data reader for Windows phone 8.1

Currently SQLite for windows phone 8.1 doesn't come with SQLite Data reader, But I need to read a data from SQLite DB without knowing the Type in advance as the Table data and schema can change externally (Outside of my application).


So is there any way to read the SQLite table data


var connection = new SQLiteConnection(dbName); connection.Query("Select * from Table")


where T is unknown?


In other words , is it possible to create the T dynamically from the Column list obtained from the connection.GetTableInfo("Table name")?


Aucun commentaire:

Enregistrer un commentaire