protected override void UnsafeClear() { base.UnsafeClear(); SqlStatements.Clear(); Parameters.Clear(); }
public void Clear() { lock (_sync) // Guard against tests with explicit concurrency { SqlStatements.Clear(); LogBuilder.Clear(); Parameters.Clear(); _cancellationTokenSource = null; } }