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))
{
}
Here we can set different type of isolation
levels as per requirement.