示例#1
0
 public UIVirtualPageMaintMethod(
     UIVirtualPageMaint Cdo,
     UIVirtualPageMaintMethods Method,
     UIVirtualPageMaint_Parameters Parameters)
 {
     this.Cdo           = Cdo;
     this.ServiceMethod = Method;
     this.Parameters    = Parameters;
 }
示例#2
0
        public ResultStatus Freeze(
            UIVirtualPageMaint uIVirtualPageMaint,
            UIVirtualPageMaint_Parameters parameters,
            UIVirtualPageMaint_Request request,
            out UIVirtualPageMaint_Result result)
        {
            result = (UIVirtualPageMaint_Result)null;
            this.OnBeforeCall(nameof(Freeze), (DCObject)uIVirtualPageMaint, (Parameters)parameters, (Request)request);
            ResultStatus res;

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