private async Task RollbackTransaction(AsyncWrappingCommonArgs async) { if (_sqlTransaction != null) { await _sqlTransaction.RollbackImpl(async).ConfigureAwait(false); #if NET48 || NETSTANDARD2_0 _sqlTransaction.Dispose(); #else await async.AsyncSyncCallNoCancellation(_sqlTransaction.DisposeAsync, _sqlTransaction.Dispose).ConfigureAwait(false); #endif _sqlTransaction = null; } }