Select from following answers:- Set the TransactionScopeOption to RequiresNew.

- Set the TransactionScopeOption to Suppress.
- Set the TransactionScopeOption to Required.
- All Above
If the scope is instantiated with RequiresNew, it is always the root scope. It starts a new transaction, and its transaction becomes the new ambient transaction inside the scope.
If the scope is instantiated with Required and an ambient transaction is present, the scope joins that transaction. This is not the desired behavior.
If the scope is instantiated with Suppress, it never takes part in a transaction, whether or not an ambient transaction is present. This negates the desired transaction behavior within the method.
Show Correct Answer
Source: MeasureUp.Com | |
Alert Moderator