RollbackChanges() public method

Occurs when rolling back a transaction. This will free up any temporary space allocated for the change.
public RollbackChanges ( ) : void
return void
Ejemplo n.º 1
0
 /// <summary>
 /// Occurs when rolling back a transaction. This will free up
 /// any temporary space allocated for the change.
 /// </summary>
 public void RollbackChanges()
 {
     if (m_disposed)
     {
         throw new ObjectDisposedException(GetType().FullName);
     }
     if (m_isReadOnly)
     {
         throw new ReadOnlyException();
     }
     m_stream.RollbackChanges();
 }