public void OnCommitted(DbConnection connection)
 {
     _transactionEventTimeline.WriteTimelineMessage();
     _transactionLifetimeTimeline.WriteTimelineMessage(true);
     _transactionEventTimeline    = null;
     _transactionLifetimeTimeline = null;
 }
 public void OnCommitting(DbTransaction transaction)
 {
     _transactionEventTimeline = TransactionInspector.CreateEventTimeline(transaction.Connection, _connectionId, _transactionLifetimeTimeline.TransactionId, TransactionEvent.Commit);
 }
 public void OnStartingTransaction(DbConnection connection)
 {
     _transactionLifetimeTimeline = TransactionInspector.CreateLifetimeTimeline(connection, _connectionId);
     _transactionEventTimeline    = TransactionInspector.CreateEventTimeline(connection, _connectionId, _transactionLifetimeTimeline.TransactionId, TransactionEvent.BeginTransaction);
 }
 public void OnStartedTransaction(DbTransaction transaction)
 {
     _transactionEventTimeline.WriteTimelineMessage();
     _transactionEventTimeline = null;
 }
 public void OnRollbacking(DbTransaction transaction)
 {
     _transactionEventTimeline = TransactionInspector.CreateEventTimeline(transaction.Connection, _connectionId, _transactionLifetimeTimeline.TransactionId, TransactionEvent.Rollback);
 }
 public void OnRollbacked(DbConnection connection)
 {
     _transactionEventTimeline.WriteTimelineMessage();
     _transactionLifetimeTimeline.WriteTimelineMessage(false);
     _transactionEventTimeline    = null;
     _transactionLifetimeTimeline = null;
 }