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'm using PathExpression to build my QueryExpression which i'll then pass to Find(). For the life of me, I can't get the underlying sql to give me a "val is not NULL" or "val is NULL". If I do the following: which is NOT THE SAME as "is not null" in oracle. Could someone please help me figure this out ASAP??? Thanks! |
|
|
Just write: exp && (Entity.Attribute(CmdbMtsMarkerMv.MarkerIdField) != null) i.e. compare to null, not to DBNull.Value. This is consistent with LightSpeed's approach of not surfacing DBNull.Value at the domain layer. (You can use the BuildExpression method API as well, but we generally feel that the operator syntax is more readable.) |
|
|
Awesome. I don't know how I missed that one. It's working great now. |
|