I'm a relatively new user of dotConnect for Oracle. When I try to construct the following Linq statement:
Code: Select all
var range =
from p in context.PreprocessingDatas
where p.DateTime != DateTime.MinValue
orderby p.DateTime
select p
;
// setup default start and end dates for queries
startDate = range.First().DateTime;
endDate = range.Last().DateTime;
"The query operator 'Last' is not supported."
The same error occurs when I use 'LastOrDefault'. Are these operators really not supported? If not, in which contexts?