Cannot use "any" in Linq-to-SQL #4877
Labels
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
type-bug
Milestone
I am using the following expression to load Data from a SQL Server:
That throws an Error which says, that there is a syntax error near the "ORDER" Clause in SQL (a non-boolean expression was found). When I explore the SQL of the query, the Where Statement is tranlated into the following:
If i exchange the "any" Statement in LINQ with "Count(..) > 0" gets translated into the following and it works.
I am using the RC1 Codebase by the way.
The text was updated successfully, but these errors were encountered: