public String ToSqlString(NotExpression not) { if (_factory.Dialect is MySQLDialect) return "not (" + not.Expression.Render(this) + ')'; else return "not " + not.Expression.Render(this); }