internal void VersionContextFinished(TransactionContextExecutionVersionContext executionVersionContext) { if (this.disposed) { throw new ObjectDisposedException(nameof(TransactionContext)); } if (this.DataAccessTransaction == null) { this.dataAccessObjectDataContext = null; foreach (var cc in this.commandsContextsBySqlDatabaseContexts.Values) { cc.Dispose(); } this.commandsContextsBySqlDatabaseContexts.Clear(); this.dataAccessModel.AsyncLocalTransactionContext = null; this.Dispose(); } }
internal void VersionContextFinished(TransactionContextExecutionVersionContext executionVersionContext) { if (this.disposed) { throw new ObjectDisposedException(nameof(TransactionContext)); } if (this.DataAccessTransaction == null) { this.dataAccessObjectDataContext = null; foreach (var cc in this.commandsContextsBySqlDatabaseContexts.Values) { cc.Dispose(); } this.commandsContextsBySqlDatabaseContexts.Clear(); this.dataAccessModel.AsyncLocalTransactionContext = null; this.Dispose(); } }