This question is locked. New answers and comments are not allowed.
Hello,
I think we've found a bug in Data Access Free Edition Q3 2014 SP1, that wasn't there before.
This example code:
Generates SQL of the form:
thus ignoring the "Active" parameter.
Changing the code to:
Produces the expected query (adds an "AND" clause checking Active).
Thanks,
Matej
I think we've found a bug in Data Access Free Edition Q3 2014 SP1, that wasn't there before.
This example code:
var row = entities.Table.Single(x => x.id == id && x.Active);
Generates SQL of the form:
SELECT
...
FROM
Table
WHERE
id = <value>
Changing the code to:
var row = entities.Table.Where(x => x.Active).Single(x => x.id == id);
Thanks,
Matej