dimanche 26 avril 2015

linq query 'orderby' using multiple fields at SQLite plugin by MvvmCross doesn't work

The query is the following:

var query = from c in _db.Table<Contact>()
            where c.FirstName.Contains("Alex")
            orderby c.Priority, c.FirstName, c.LastName
            select c;

Is it a limitation of SQLite, MvvmCross plugin? Should I go with .Syntax as a result?

Error CS1936: An implementation of `ThenBy' query expression pattern for source type `Cirrious.MvvmCross.Community.Plugins.Sqlite.ITableQuery<Contact>' could not be found (CS1936)

Aucun commentaire:

Enregistrer un commentaire