Starts a new transaction scope
BeginTransaction should always be a followed by a call to CommitTransaction if all goes well, or RollbackTransaction if problems are detected. BeginTransaction() can be nested any number of times as long as each call is unwound with a call to CommitTransaction().
| Exception Type | Condition |
|---|---|
| InvalidOperationException | Thrown when the transaction has already been rolled back. |
TransactionManager Class | NCI.EasyObjects Namespace