Exemple #1
0
 public override void AfterExecute()
 {
     m_dbContextFactory.Dispose();
     m_dbContextFactory = null;
     m_scope.Dispose();
     m_scope = null;
 }
Exemple #2
0
 public override void BeforeExecute()
 {
     m_scope            = m_logger.BeginScope("Creating TransactionDbConnectionContextFactory as Execution Scope");
     m_dbContextFactory = new TransactionDbConnectionContextFactory(m_config, m_loggerFactory);
 }