This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Using Lightspeed 2.2.
The following code: var reservedNums = from num in uow.FreeNumberCache where num.IsAllocated && num.AllocatedProvider == request.ProviderId select ... will not work, I get the rather confusing run time error shown above. If I change it to read: var reservedNums = from num in uow.FreeNumberCache where num.IsAllocated == true && num.AllocatedProvider == request.ProviderId select ... then everything's happy. More of an annoyance than anything else, but thought it was worth mentioning. Its particularly annoying if you use a tool like resharper as it will remove the redundant '==true' and you don't know about it till run time :-) |
|
|
That's annoying -- we thought we'd fixed that one! We will investigate and try to address this -- thanks for letting us know! |
|
|
Okay, this will be fixed in nightly builds dated 18 Apr 2009 and above. Turns out we'd fixed this issue for boolean properties on their own, but hadn't handled the case where they were being ANDed or ORed with another clause. Thanks again for reporting it. |
|