GDataDB icon indicating copy to clipboard operation
GDataDB copied to clipboard

Bug/Issue, Linq query fails, unless a "Where" clause is included

Open ToddBooth opened this issue 11 years ago • 1 comments

If your Linq query does not have a "Where" clause, GDataDB gives an error that Select is not support..

Workaround: add a where class that does not match any rows.

I'm running Visual Studio 2013 Professional, with all updates.

I'm running the latest GDataDB 0.5.0 and latest GDataDB Linq 0.5.0.

Example of the where clause that I had to add:

        var rows = from row1 in tbl.AsQueryable()
                   where !row1.StudentId.Equals("12345")
                   select row1;

Todd Booth / University of Technology (Luleå, Sweden)

ToddBooth avatar Jul 13 '14 14:07 ToddBooth

Does the Google Spreadsheet API really support projections? If so, could you point me to the relevant documentation?

mausch avatar Jul 17 '14 05:07 mausch