/// <summary> /// Tracks when 'command' is started. /// </summary> public static void ExecuteStart(this SqlProfiler sqlProfiler, IDbCommand command, SqlExecuteType type) { if (sqlProfiler == null) { return; } sqlProfiler.ExecuteStartImpl(command, type); }
/// <summary> /// Tracks when 'command' is started. /// </summary> public static void ExecuteStart(this SqlProfiler sqlProfiler, IDbCommand command, SqlExecuteType type) { sqlProfiler?.ExecuteStartImpl(command, type); }