How to Set Isolation Level in TransactionScope

First of all you have to make an object of TransactionOptions Class, and set into a variable.

var transactionOptions1 = new TransactionOptions();

transactionOptions1.IsolationLevel = System.Transactions.IsolationLevel.ReadUncommitted;

using (TransactionScope tran = new TransactionScope(TransactionScopeOption.Required, transactionOptions1))
{
}

untitled1.JPG

Here we can set different type of isolation levels as per requirement.

Next Recommended Reading Deserializing a Data Set from XML