[]
Represents a transaction with an explicit scope.
public interface ITransaction : IDisposable
| Name | Description |
|---|---|
| HasChanges | Gets a value indicating whether any changes were made in the scope of this transaction. |
| State | Gets the current state of the transaction. |
| Name | Description |
|---|---|
| Commit() | Commits changes that were made while this transaction's scope was open. |
| Rollback() | Rolls back changes that were made while this transaction's scope was open. |
| Scope() | Opens a transaction scope. |