I need the equivalent of PredicateFactory.CompareNotNull(someElement), the opposite of PredicateFactory.CompareNull, because I am adding the result to a PredicateExpression. Is there a way to achieve this since there is no CompareNotNull? Thanks
Hi there,
There's an overload for that function, the parameter is "negate". If you pass True you get what you want
filter.Add(PredicateFactory.CompareNull(someElement, true))