Bobby
Firstly, a BIG thanks to everyone involved in this little gem being added - should make things a whole lot neater/easier.
Secondly, I've just tried to create a filter on a nullable column using the following assuming that it would work fine but it appears that when the Append() method is called, it checks for an empty string and if the string is empty it just ignores this append (i.e. nothing gets added to the query string).
Dim query1 As New ContactFilterBuilder
query1.Append(ContactColumn.Homephone, Nothing)
Debug.Print(query1.ToString)
I know that querying for Nulls is a bit of a pain at the moment but it is something that a lot of people use fairly regularly so just wanted to make a suggestion (or a couple of different options really).
First option - instead of dropping the Append if the string is empty could the code add an "entity.columnName Is Null" clause to the query instead?
Alternatively, don't change the above behaviour, but do check for the string value being "Null" and then add an "entity.columnName Is Null" clause?
Either of the 2 above options should enable people to return records that contain Nulls if they need to.
Cheers
Martin