Short-circuit evaluation and LINQ-to-NHibernate

Posted by afsharm on Stack Overflow See other posts from Stack Overflow or by afsharm
Published on 2010-02-22T08:02:38Z Indexed on 2010/04/22 1:03 UTC
Read the original article Hit count: 788

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

© Stack Overflow or respective owner

Related posts about c#

Related posts about LINQ