private void OnVersionContextFinished(object sender, EventArgs eventArgs)
{
if (this.disposed)
{
throw new ObjectDisposedException(nameof(TransactionContext));
}
if (this.DataAccessTransaction == null)
{
this.dataAccessObjectDataContext = null;
this.commandsContext?.Dispose();
this.dataAccessModel.AsyncLocalAmbientTransactionContext = null;
this.Dispose();
}
}