Beispiel #1
0
        /// <summary>
        /// コミット
        /// </summary>
        public void Commit()
        {
            if (!this.isTran)
            {
                return;
            }

            if (isSetSavePoint)
            {
                tran.Release(SavePointName);
                isSetSavePoint = false;
            }
            else
            {
                this.tran.Commit();
                this.isTran = false;
            }
        }
Beispiel #2
0
 /// <summary>
 /// Releases the specified save point.
 /// </summary>
 /// <param name="savePoint">The save point.</param>
 public void Release(string savePoint)
 {
     _currentTransaction.Release(savePoint);
 }