Beispiel #1
0
 public static void DaCommit(this SqlTransaction transaction, string TRANSACTION_NAME)
 {
     try
     {
         transaction.Commit();
     }
     catch (Exception)
     {
         transaction.DaRollback(TRANSACTION_NAME);
     }
 }