Exemple #1
0
 public ResultStatus GetWIPMsgs(
     ChangePackageInquiry changePackageInquiry,
     ChangePackageInquiry_Request request,
     out ChangePackageInquiry_Result result)
 {
     return(this.GetWIPMsgs(changePackageInquiry, (ChangePackageInquiry_Parameters)null, request, out result));
 }
Exemple #2
0
 public ResultStatus GetEnvironment(
     ChangePackageInquiry cdo,
     ChangePackageInquiry_Request request,
     out ChangePackageInquiry_Result result)
 {
     result = (ChangePackageInquiry_Result)null;
     try
     {
         return(((IChangePackageInquiryService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Exemple #3
0
 public ResultStatus CommitTransaction(
     ChangePackageInquiry_Request request,
     out ChangePackageInquiry_Result result)
 {
     result = (ChangePackageInquiry_Result)null;
     try
     {
         ChangePackageInquiryMethod[] methods = new ChangePackageInquiryMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IChangePackageInquiryService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Exemple #4
0
        public ResultStatus ExecuteTransaction(
            ChangePackageInquiry cdo,
            ChangePackageInquiry_Request request,
            out ChangePackageInquiry_Result result)
        {
            result = (ChangePackageInquiry_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IChangePackageInquiryService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new ChangePackageInquiryMethod(cdo, ChangePackageInquiryMethods.ExecuteTransaction, (ChangePackageInquiry_Parameters)null));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(ExecuteTransaction), res, (DCObject)cdo, (Parameters)null, (Request)request, (Result)result);
            }
            return(res);
        }
Exemple #5
0
        public ResultStatus GetWIPMsgs(
            ChangePackageInquiry changePackageInquiry,
            ChangePackageInquiry_Parameters parameters,
            ChangePackageInquiry_Request request,
            out ChangePackageInquiry_Result result)
        {
            result = (ChangePackageInquiry_Result)null;
            this.OnBeforeCall(nameof(GetWIPMsgs), (DCObject)changePackageInquiry, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IChangePackageInquiryService)this._Channel).GetWIPMsgs(this._UserProfile, changePackageInquiry, parameters, request, out result) : this.AddMethod((Method) new ChangePackageInquiryMethod(changePackageInquiry, ChangePackageInquiryMethods.GetWIPMsgs, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(GetWIPMsgs), res, (DCObject)changePackageInquiry, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Exemple #6
0
 public ResultStatus ExecuteTransaction(
     ChangePackageInquiry_Request request,
     out ChangePackageInquiry_Result result)
 {
     return(this.ExecuteTransaction((ChangePackageInquiry)null, request, out result));
 }
Exemple #7
0
 public ResultStatus GetEnvironment(
     ChangePackageInquiry_Request request,
     out ChangePackageInquiry_Result result)
 {
     return(this.GetEnvironment((ChangePackageInquiry)null, request, out result));
 }