Skip to content

SqlDebugDumper.Dump method

Dumps the specified SQL, replacing parameters with SQL constants, fixing brackets and database caret references.

public static string Dump(string sql, IDictionary<string, object> parameters, 
    ISqlDialect dialect = null)
parameter description
sql The SQL.
parameters The parameters.
dialect The dialect.

Return Value

The debug version of the SQL.

See Also