I'm developing an IOS app using VS for Mac.
This query for multiple data items fails internally
IEnumerable<MyData> lst = database.Table<MyData>().Where( cw => (cw.Timestamp.Date >= fromdate.Date && cw.Timestamp.Date <= todate)).Select(r => new MyData(r));
If I "break" right after this executes, attempting to examine the "IEnumerator" member
of "lst" gives the following error:
System.NotSupportedException: Member access failed to compile expression
I have already tried disabling the "use MSBuild instead of XBuild" as some posts
recommended. And I added this to my .csproj file:
All I want to do is get a List out of the query, in any way possible.
Ideally, I'd write:
(the "AsQueryable()" may not be needed; tbd).
Any help is very much appreciated!