示例#1
0
        public override void Execute()
        {
            Transactions.Transaction          t;
            Transactions.Processes.CreateUser process;

            process = new Transactions.Processes.CreateUser(_request.Database, _user,
                                                            _request.RequestingPartyType, _request.Session, _request.Database.Server.Timeout,
                                                            _request.Database.Server.Timeout, _request.Database.Server.BufferSize, _request.Database.Server.BufferSize);
            t = new Transactions.Transaction(process);

            AttachSubscriber(process, _request.OnActionChanged);
            AttachSubscriber(process, _request.OnAuthorizationDenied);
            AttachSubscriber(process, _request.OnComplete);
            AttachSubscriber(process, _request.OnError);
            AttachSubscriber(process, _request.OnProgress);
            AttachSubscriber(process, _request.OnTimeout);

            t.Execute();
        }
示例#2
0
        public override void Execute()
        {
            Transactions.Transaction t;
            Transactions.Processes.CreateUser process;

            process = new Transactions.Processes.CreateUser(_request.Database, _user,
                _request.RequestingPartyType, _request.Session, _request.Database.Server.Timeout,
                _request.Database.Server.Timeout, _request.Database.Server.BufferSize, _request.Database.Server.BufferSize);
            t = new Transactions.Transaction(process);

            AttachSubscriber(process, _request.OnActionChanged);
            AttachSubscriber(process, _request.OnAuthorizationDenied);
            AttachSubscriber(process, _request.OnComplete);
            AttachSubscriber(process, _request.OnError);
            AttachSubscriber(process, _request.OnProgress);
            AttachSubscriber(process, _request.OnTimeout);

            t.Execute();
        }