SqlCommandDumper class

namespace: Serenity.Data   assemblySerenity.Net.Data

http://stackoverflow.com/questions/265192/get-the-generated-sql-statement-from-a-sqlcommand-object (answer by Mitch)

public class SqlCommandDumper

Public Members

name description
SqlCommandDumper() The default constructor.
static GetCommandText(…) Gets the command text.

See Also