예제 #1
0
 public static void OpenBeginTransactions <T>(this IDbConnection @this,
                                              String sql,
                                              CommandType commandType,
                                              IEnumerable <T> entities,
                                              Action <T, int> progress,
                                              Action <int> committed,
                                              Action <Exception> rollbacked)
 {
     using (@this._Open())
     {
         @this.BeginTransactions <T>(sql, commandType, entities, progress, committed, rollbacked);
     }
 }