I am using VB.NET 2005, version 2.0 LLBLGen. I am trying to add the null criteria in my predicate expression. Here is a simple sql query, but how do you translate this in a predicate expression?
For example, I tried to do:
bucket.PredicateExpression.AddWithOr((State.StateCode = System.DBNull.Value)), but I can see in the sql profiler that StateCode = Null, not StateCode Is Null.