Open
Description
The following query:
context.Items.OrderBy(x => x.IsActive);
..returns items with IsActive == true
first then those with IsActive == false
(should be the opposite).
Similarily, the following query:
context.Items.OrderByDescending(x => x.IsActive);
..returns items with IsActive == false
first then those with IsActive == true
(should be the other way around).
This seems to be a bug in JetEntityFrameworkProvider because it works the right way with SQL Server and, of course, with any other collection. As a workaround, I'm currently using context.Items.ToList().OrderBy...
.
Metadata
Metadata
Assignees
Labels
No labels