protected virtual void TriggerBeforeCommit(DefaultTransactionStatus status)
 {
     if (status.IsNewSynchronization)
     {
         _logger?.LogTrace("Triggering beforeCommit synchronization");
         TransactionSynchronizationUtils.TriggerBeforeCommit(status.IsReadOnly);
     }
 }
 private void TriggerAfterCommit(DefaultTransactionStatus status)
 {
     if (status.IsNewSynchronization)
     {
         _logger?.LogTrace("Triggering afterCommit synchronization");
         TransactionSynchronizationUtils.TriggerAfterCommit();
     }
 }
 protected virtual void InvokeAfterCompletion(List <ITransactionSynchronization> synchronizations, int completionStatus)
 {
     TransactionSynchronizationUtils.InvokeAfterCompletion(synchronizations, completionStatus);
 }