public override async Task <DbTransaction> GetActiveTransactionAsync()
        {
            var transaction = await _activeTransactionProvider
                              .GetActiveTransactionAsync(ActiveTransactionProviderArgs);

            return((DbTransaction)transaction);
        }
        /// <summary>
        ///     Gets the active transaction. If Dapper is active then <see cref="IUnitOfWork" /> should be started before
        ///     and there must be an active transaction.
        /// </summary>
        /// <value>
        ///     The active transaction.
        /// </value>
        public virtual async Task <DbTransaction> GetActiveTransactionAsync()
        {
            var connection =
                await _activeTransactionProvider.GetActiveTransactionAsync(ActiveTransactionProviderArgs.Empty);

            return((DbTransaction)connection);
        }