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
|
I have a query that fails to run in Lightspeed, and it looks like support has not been written for it yet according to the comments in the code. Specifically my query is as follows: return from e in UOW.Get.ErrorLogs The problem is the 'HasDetail = !String.IsNullOrEmpty(e.Details)'. How can I restructure this query so it will work with Lightspeed? |
|
|
I was able to re-write the query as follows to get it working, but it would be nice if the String.IsNullOrEmpty worked :) return from e in UOW.Get.ErrorLogs The column is not nullable in the database anyway, so I did not need to test for null, just emptyness. |
|
|
We have added support for using IsNullOrEmpty in a projection (it was previously only supported in criteria) and this will be available in tonights nightly build.
Thanks! Jeremy |
|
|
Great, I will try it out! |
|