Esempio n. 1
0
 public ResultStatus GetWIPMsgs(
     PackageInquiry packageInquiry,
     PackageInquiry_Request request,
     out PackageInquiry_Result result)
 {
     return(this.GetWIPMsgs(packageInquiry, (PackageInquiry_Parameters)null, request, out result));
 }
Esempio n. 2
0
 public ResultStatus GetEnvironment(
     PackageInquiry cdo,
     PackageInquiry_Request request,
     out PackageInquiry_Result result)
 {
     result = (PackageInquiry_Result)null;
     try
     {
         return(((IPackageInquiryService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Esempio n. 3
0
 public ResultStatus CommitTransaction(
     PackageInquiry_Request request,
     out PackageInquiry_Result result)
 {
     result = (PackageInquiry_Result)null;
     try
     {
         PackageInquiryMethod[] methods = new PackageInquiryMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IPackageInquiryService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Esempio n. 4
0
        public ResultStatus ExecuteTransaction(
            PackageInquiry cdo,
            PackageInquiry_Request request,
            out PackageInquiry_Result result)
        {
            result = (PackageInquiry_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IPackageInquiryService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new PackageInquiryMethod(cdo, PackageInquiryMethods.ExecuteTransaction, (PackageInquiry_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);
        }
Esempio n. 5
0
        public ResultStatus GetWIPMsgs(
            PackageInquiry packageInquiry,
            PackageInquiry_Parameters parameters,
            PackageInquiry_Request request,
            out PackageInquiry_Result result)
        {
            result = (PackageInquiry_Result)null;
            this.OnBeforeCall(nameof(GetWIPMsgs), (DCObject)packageInquiry, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IPackageInquiryService)this._Channel).GetWIPMsgs(this._UserProfile, packageInquiry, parameters, request, out result) : this.AddMethod((Method) new PackageInquiryMethod(packageInquiry, PackageInquiryMethods.GetWIPMsgs, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(GetWIPMsgs), res, (DCObject)packageInquiry, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Esempio n. 6
0
 public ResultStatus ExecuteTransaction(
     PackageInquiry_Request request,
     out PackageInquiry_Result result)
 {
     return(this.ExecuteTransaction((PackageInquiry)null, request, out result));
 }
Esempio n. 7
0
 public ResultStatus GetEnvironment(
     PackageInquiry_Request request,
     out PackageInquiry_Result result)
 {
     return(this.GetEnvironment((PackageInquiry)null, request, out result));
 }