Short-circuit evaluation and LINQ-to-NHibernate
- by afsharm
It seems that LINQ-to-NHibernate and LINQ-to-SQL does not support short-circuit evaluation in where clause of query.
Am I right?
Is there any workaround?
May it be added to next versions of LINQ-to-NHibernate and LINQ-to-SQL?
for more information plz see followings:
http://stackoverflow.com/questions/772261/the-or-operator-in-linq-with-c
http://stackoverflow.com/questions/2306302/why-ordinary-laws-in-evaluting-boolean-expression-does-not-fit-into-linq