Inheritance: IEnlistmentNotification
コード例 #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);
        }
コード例 #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);
        }