예제 #1
0
 /// <summary>
 /// コミット
 /// </summary>
 /// <remarks></remarks>
 public void Commit()
 {
     if (_trans != null)
     {
         _trans.Commit();
         _logger.Info("Commit:" + _trans.ToString());
         _trans = null;
     }
 }
예제 #2
0
 /// <summary>
 /// トランザクション開始
 /// </summary>
 /// <remarks></remarks>
 public void BeginTransaction()
 {
     _trans = _con.BeginTransaction();
     _logger.Info("BeginTransaction:" + _trans.ToString());
 }