Exemple #1
0
 public ResultStatus GetWIPMsgs(
     ExportStatusInquiry exportStatusInquiry,
     ExportStatusInquiry_Request request,
     out ExportStatusInquiry_Result result)
 {
     return(this.GetWIPMsgs(exportStatusInquiry, (ExportStatusInquiry_Parameters)null, request, out result));
 }
Exemple #2
0
 public ResultStatus GetEnvironment(
     ExportStatusInquiry cdo,
     ExportStatusInquiry_Request request,
     out ExportStatusInquiry_Result result)
 {
     result = (ExportStatusInquiry_Result)null;
     try
     {
         return(((IExportStatusInquiryService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Exemple #3
0
 public ResultStatus CommitTransaction(
     ExportStatusInquiry_Request request,
     out ExportStatusInquiry_Result result)
 {
     result = (ExportStatusInquiry_Result)null;
     try
     {
         ExportStatusInquiryMethod[] methods = new ExportStatusInquiryMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IExportStatusInquiryService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Exemple #4
0
        public ResultStatus ExecuteTransaction(
            ExportStatusInquiry cdo,
            ExportStatusInquiry_Request request,
            out ExportStatusInquiry_Result result)
        {
            result = (ExportStatusInquiry_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IExportStatusInquiryService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new ExportStatusInquiryMethod(cdo, ExportStatusInquiryMethods.ExecuteTransaction, (ExportStatusInquiry_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(
            ExportStatusInquiry exportStatusInquiry,
            ExportStatusInquiry_Parameters parameters,
            ExportStatusInquiry_Request request,
            out ExportStatusInquiry_Result result)
        {
            result = (ExportStatusInquiry_Result)null;
            this.OnBeforeCall(nameof(GetWIPMsgs), (DCObject)exportStatusInquiry, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IExportStatusInquiryService)this._Channel).GetWIPMsgs(this._UserProfile, exportStatusInquiry, parameters, request, out result) : this.AddMethod((Method) new ExportStatusInquiryMethod(exportStatusInquiry, ExportStatusInquiryMethods.GetWIPMsgs, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(GetWIPMsgs), res, (DCObject)exportStatusInquiry, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Exemple #6
0
 public ResultStatus ExecuteTransaction(
     ExportStatusInquiry_Request request,
     out ExportStatusInquiry_Result result)
 {
     return(this.ExecuteTransaction((ExportStatusInquiry)null, request, out result));
 }
Exemple #7
0
 public ResultStatus GetEnvironment(
     ExportStatusInquiry_Request request,
     out ExportStatusInquiry_Result result)
 {
     return(this.GetEnvironment((ExportStatusInquiry)null, request, out result));
 }