You add a method that updates tables with two update commands. These commands execute within a TransactionScope using block to ensure that these commands either both complete or both fail. You want to ensure that the completion status of these commands does not affect any transactions started before the method was called.

What should you do?

 Posted by Rajkatie on 9/28/2012 | Category: ADO.NET Interview questions | Views: 1241 | Points: 40
Select from following answers:
  1. Set the TransactionScopeOption to RequiresNew.
  2. Set the TransactionScopeOption to Suppress.
  3. Set the TransactionScopeOption to Required.
  4. All Above

Show Correct Answer

Source: MeasureUp.Com | | Alert Moderator 

Comments or Responses

Login to post response