예제 #1
0
 public UserQueryGroupMaintMethod(
     UserQueryGroupMaint Cdo,
     UserQueryGroupMaintMethods Method,
     UserQueryGroupMaint_Parameters Parameters)
 {
     this.Cdo           = Cdo;
     this.ServiceMethod = Method;
     this.Parameters    = Parameters;
 }
예제 #2
0
        public ResultStatus Freeze(
            UserQueryGroupMaint userQueryGroupMaint,
            UserQueryGroupMaint_Parameters parameters,
            UserQueryGroupMaint_Request request,
            out UserQueryGroupMaint_Result result)
        {
            result = (UserQueryGroupMaint_Result)null;
            this.OnBeforeCall(nameof(Freeze), (DCObject)userQueryGroupMaint, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IUserQueryGroupMaintService)this._Channel).Freeze(this._UserProfile, userQueryGroupMaint, parameters, request, out result) : this.AddMethod((Method) new UserQueryGroupMaintMethod(userQueryGroupMaint, UserQueryGroupMaintMethods.Freeze, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(Freeze), res, (DCObject)userQueryGroupMaint, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }