14 Şubat 2016 Pazar

TransactionScope Sınıfı

constructor
Şöyle yaparız
var opt = new TransactionOptions();
option.IsolationLevel = System.Transactions.IsolationLevel.ReadUnCommitted;
try
{
  using (var scope = new TransactionScope(TransactionScopeOption.Required, opt))
  {
    ...
    transactionScope.Complete();
  }
}

Hiç yorum yok:

Yorum Gönder