From c77593bdfc689f942264c8116585aee2411623c5 Mon Sep 17 00:00:00 2001 From: "teddy.ma" Date: Sun, 29 Sep 2013 10:58:32 +0800 Subject: [PATCH] fix SqlTiming serialization issue which cause SqlTiming.CommandText always be null after MiniProfiler.FromJson() --- StackExchange.Profiling/SqlTiming.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/StackExchange.Profiling/SqlTiming.cs b/StackExchange.Profiling/SqlTiming.cs index d8d45d2..e1c8914 100644 --- a/StackExchange.Profiling/SqlTiming.cs +++ b/StackExchange.Profiling/SqlTiming.cs @@ -89,13 +89,13 @@ public SqlTiming(IDbCommand command, ExecuteType type, MiniProfiler profiler) /// /// Gets or sets the SQL that was executed. /// - [ScriptIgnore] [DataMember(Order = 2)] public string CommandString { get; set; } /// /// Gets the command string with special formatting applied based on MiniProfiler.Settings.SqlFormatter /// + [ScriptIgnore] public string FormattedCommandString { get