vendredi 1 mai 2015

How do I make LINQ queries to an SQLite database?

The System.Data.SQLite namespace includes a sub-namespace, System.Data.SQLite.Linq, which the website claims provides LINQ support. However, I can find no documentation of how to actually use it. In the following piece of code, what kind of object must table be, and how do I create one?

var rows = 
    from row in table
    where row.Id == 4345
    select column1, column2

Aucun commentaire:

Enregistrer un commentaire