Hello Richard Koslik,
I'm really sorry about this regression. I can reproduce this here now. Our parameter detection is improved and the fixed condition is detected as literal, and generates the mentioned exception. I will try to fix this.
In the mean time you can do one of the following:
(a) Push the condition conditionally to the server: Either it is night mode, then generate one kind of query, or it is not night mode, then generate another kind of query. You can combine LINQ expressions.
(b) Use !bNightMode instead of bNightMode == false. The effect is the same, however the LINQ tree is slightly different and therefore the conditions are pushed to the server slightly different.
Again, my apologies for this regression. I've included dozens of tests for booleans for the release, but this form did not make it.
I've updated your Telerik points.
the Telerik team