/// <inheritdoc/> protected override void Dispose(bool disposing) { if (!IsDisposed && disposing && TransactionContext != null) { if (_rowsToDelete.Any()) { PruneTransactionRows(force: true); } TransactionContext.Dispose(); } base.Dispose(disposing); }
protected override void Dispose(bool disposing) { if (!IsDisposed && disposing && TransactionContext != null) { if (_rowsToDelete.Any()) { try { PruneTransactionHistory(force: true, useExecutionStrategy: false); } catch (Exception) { } } TransactionContext.Dispose(); } base.Dispose(disposing); }