By the way, if you are using dynamic soql alot, you may want to build a helper class/method to do this for you likePublic static string ConstructWhereClause(...) where you can pass in a list. map or individual parameters.