src/Shared/EntityFramework/Core/EntityClient/EntityTransaction.cs
/// <summary>Rolls back the underlying transaction.</summary>
Rolls back the underlying transaction.
Rolls back the underlying transaction .
public override void Rollback()
        {
            try
            {
                if (_storeTransaction != null)
                {
                    DbInterception.Dispatch.Transaction.Rollback(_storeTransaction, InterceptionContext);
                }
            }
            catch (Exception e)
            {
                if (e.IsCatchableExceptionType())
                {
                    throw new EntityException(Strings.EntityClient_ProviderSpecificError(@"Rollback"), e);
                }
                throw;
            }
            ClearCurrentTransaction();
        }
public override void Rollback ( ) { try { if ( _storeTransaction != null ) { DbInterception . Dispatch . Transaction . Rollback ( _storeTransaction , InterceptionContext ) ; } } catch ( Exception e ) { if ( e . IsCatchableExceptionType ( ) ) { throw new EntityException ( Strings . EntityClient_ProviderSpecificError ( @"Rollback" ) , e ) ; } throw ; } ClearCurrentTransaction ( ) ; }
Rolls back the underlying transaction.
Rolls back the underlying transaction .