SqlServerFormatter
Formats SQL server queries with a DECLARE up top for parameter values
Assembly: ServiceStack.NetFramework.dll
View Source
Declaration
public class SqlServerFormatter : ISqlFormatter
Methods
FormatSql(SqlTiming)
Formats the SQL in a SQL-Server friendly way, with DECLARE statements for the parameters up top.
View Source
Declaration
public string FormatSql(SqlTiming timing)
Returns
System.String
: A formatted SQL string
Parameters
Type | Name | Description |
---|---|---|
ServiceStack.MiniProfiler.SqlTiming | timing | The SqlTiming to format |
|