Skip to content

SqlCommandDumper.GetCommandText method

Gets the command text for the specified command, including parameter declarations.

public static string GetCommandText(IDbCommand sqc)
parameter description
sqc The SQL command.

Return Value

The generated command text.

See Also