TransactionContext Methods |
The TransactionContext type exposes the following members.
Name | Description | |
---|---|---|
DoTransactionally |
Executes the provided callback within a transaction, and automatically commits the
transaction when the callback returns. If the transaction conflicts (it raises
a TransactionConflictException), the callback is executed again
with a new transaction. This process continues until the transaction commits
successfully.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
SelectTransactionallyTResult |
Executes the provided callback within a transaction, and automatically commits the
transaction when the callback returns. If the transaction conflicts (it raises
a TransactionConflictException), the callback is executed again
with a new transaction. This process continues until the transaction commits
successfully. When the transaction commits successfully, the value returned by
the provided callback is returned by this method.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |