More ToSqlVisitor Implementation.