Skip to main content

ISqlFormatter

Takes a SqlTiming and returns a formatted SQL string, for parameter replacement, etc.

Assembly: ServiceStack.NetFramework.dll
View Source
Declaration
public interface ISqlFormatter

Methods

FormatSql(SqlTiming)

Return SQL the way you want it to look on the in the trace. Usually used to format parameters

View Source
Declaration
string FormatSql(SqlTiming timing)
Returns

System.String: Formatted SQL

Parameters
TypeName
ServiceStack.MiniProfiler.SqlTimingtiming