Is there a PredicateFactory.CompareNull for Not Null?

Posts   
 
    
Ren
User
Posts: 42
Joined: 01-Jul-2005
# Posted on: 11-Jul-2005 22:04:20   

I must be missing something.

It seems like it would be as easy as this.

bucket.PredicateExpression.AddWithAnd(PredicateFactory.CompareNotNull(BillableItemFieldIndex.InvoiceId));

But there is no CompareNotNull method.

Thanks Ren

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39612
Joined: 17-Aug-2003
# Posted on: 11-Jul-2005 22:49:46   

Use the overload of CompareNull which accepts negate and set that parameter to true simple_smile

Frans Bouma | Lead developer LLBLGen Pro
Ren
User
Posts: 42
Joined: 01-Jul-2005
# Posted on: 11-Jul-2005 23:58:45   

simple_smile Thanks! I knew it was something I was missing.