public override string ToString() { var column = Column.Replace("#", ".", StringComparison.OrdinalIgnoreCase); var parameter = SqlDialect == Dialect.Postgres ? column : Column.Replace(".", "__", StringComparison.OrdinalIgnoreCase); column = column.Replace("$", "", StringComparison.OrdinalIgnoreCase); column = ColumnNameFormatter?.Invoke(column) ?? column; parameter = ParameterFormatter?.Invoke(parameter) ?? $"@{parameter}"; return(Separator == Separator.Empty ? $"{column} {Oper.ToSqlString()} {parameter}" : $"{column} {Oper.ToSqlString()} {parameter} {Separator.ToSqlString()}"); }