Share

Transaction Methods

The Transaction type exposes the following members.

Methods

 NameDescription
Public methodCommit() Commits all changes made to the model during the transaction.
Public methodCommit(FailureHandlingOptions) Commits all changes made to the model during the transaction.
Public methodDispose 
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetFailureHandlingOptions Returns the current failure handling options.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetName Returns the transaction's name.
Public methodGetStatus Returns the current status of the transaction.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodHasEnded Determines whether the transaction has ended already.
Public methodHasStarted Determines whether the transaction has been started yet.
Public methodRollBack() Rolls back all changes made to the model during the transaction.
Public methodRollBack(FailureHandlingOptions) Rolls back all changes made to the model during the transaction.
Public methodSetFailureHandlingOptions Sets options for handling failures to be used when the transaction is being committed or rolled back.
Public methodSetName Sets the transaction's name.
Public methodStart() Starts the transaction.
Public methodStart(String) Starts the transaction with an assigned name.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)

See Also

Reference

Was this information helpful?