TransactionScope: A simple way to handle transactions in .NET

added by DotNetKicks
2/6/2018 2:17:34 PM

1 Kicks, 284 Views

Have you ever tried implementing transactions using C# code? Normally, we implement transactions in SQL where multiple Insert/Update statements takes part in it. A Transaction follows the ACID (Atomicity, Consistency, Isolation, Durability) rule where either all the statements get committed or all get canceled and rolled back.