Inheritance: IEnlistmentNotification
Ejemplo n.º 1
0
        public override void EnlistTransaction(Transaction transaction)
        {
            if (Transaction != null && transaction != null)
            {
                throw new ArgumentException();
            }

            if (enlistment != null && enlistment.Scope != transaction)
            {
                throw new ArgumentException();
            }

            enlistment = new DeveelDbEnlistment(this, transaction);
        }
Ejemplo n.º 2
0
        public override void EnlistTransaction(Transaction transaction)
        {
            if (Transaction != null && transaction != null)
                throw new ArgumentException();

            if (enlistment != null && enlistment.Scope != transaction)
                throw new ArgumentException();

            enlistment = new DeveelDbEnlistment(this, transaction);
        }