Transaction Methods


Transaction Methods

The Transaction type exposes the following members.

Methods
Name Description
Public method Code example Commit Commits all changes made to the model during the transaction.
Public method Code example Commit(FailureHandlingOptions) Commits all changes made to the model during the transaction.
Public method Dispose
Public method Equals Determines whether the specified object is equal to the current object.
(Inherited from Object )
Public method GetFailureHandlingOptions Returns the current failure handling options.
Public method GetHashCode Serves as the default hash function.
(Inherited from Object )
Public method GetName Returns the transaction's name.
Public method GetStatus Returns the current status of the transaction.
Public method GetType Gets the Type of the current instance.
(Inherited from Object )
Public method HasEnded Determines whether the transaction has ended already.
Public method HasStarted Determines whether the transaction has been started yet.
Public method Code example RollBack Rolls back all changes made to the model during the transaction.
Public method Code example RollBack(FailureHandlingOptions) Rolls back all changes made to the model during the transaction.
Public method Code example SetFailureHandlingOptions Sets options for handling failures to be used when the transaction is being committed or rolled back.
Public method Code example SetName Sets the transaction's name.
Public method Code example Start Starts the transaction.
Public method Code example Start(String) Starts the transaction with an assigned name.
Public method ToString Returns a string that represents the current object.
(Inherited from Object )
Top
See Also