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