The linq Last method throws a exception
Posted: Tue 09 Jun 2015 15:32
Hello,
This line of code works fine:
var v = context.Jobs.First();
This line of code throws a exception:
var v = context.Jobs.Last();
The exception is:
"The query operator 'Last' is not supported."
I assume this is a bug?
This line of code works fine:
var v = context.Jobs.First();
This line of code throws a exception:
var v = context.Jobs.Last();
The exception is:
"The query operator 'Last' is not supported."
I assume this is a bug?