Exemple #1
0
        public INetTxSession CreateNetTxSession(Transaction tx)
        {
            NetTxSession session = (NetTxSession)CreateSession(AcknowledgementMode.Transactional);

            session.Enlist(tx);
            return(session);
        }
Exemple #2
0
        public INetTxSession CreateNetTxSession(Transaction tx, bool enlistNativeMsDtcResource)
        {
            NetTxSession session = (NetTxSession)CreateSession(AcknowledgementMode.Transactional);

            session.Enlist(tx);
            session.EnlistsMsDtcNativeResource = enlistNativeMsDtcResource;
            return(session);
        }