.NET provides at least 2 ways to do transactions. One way is to use System.Data transactions. For example:
System.Data
using (var con = new SqlConnection(Conne