C#-TransactionScope
using System.Transactions;
TransactionOptions op = new TransactionOptions() { IsolationLevel = IsolationLevel.ReadCommitted }; using (TransactionScope scope = new TransactionScope(TransactionScopeOption.Required, op)) { using (CCEntities dm = new CCEntities(AppConfig.GetCreditCheckConnStr())) { dm.PCR_IdentifiableInformation.AddObject(info); dm.SaveChanges(); } scope.Complete(); }