示例#1
0
        internal ResendTransaction BeginTransaction()
        {
            if (currentTrx != null)
            {
                throw new NotSupportedException("Only one open transaction supported");
            }

            currentTrx = new ResendTransaction();
            return(currentTrx);
        }
示例#2
0
        internal void CommitTransaction()
        {
            if (currentTrx.SendIndicatorStreamPositions != null &&
                currentTrx.SendIndicatorStreamPositions.Count > 0)
            {
                // commit succesfully > mark all transaction send flags as sent
                currentTrx.FlagTransactionMethodsSuccess();
            }

            currentTrx.Dispose();
            currentTrx = null;
        }
示例#3
0
 internal void CommitOnlineTransaction()
 {
     currentTrx.CommitOnlineTransaction();
     currentTrx = null;
 }