예제 #1
0
 public ResultStatus GetWIPMsgs(
     ExportImportInquiry exportImportInquiry,
     ExportImportInquiry_Request request,
     out ExportImportInquiry_Result result)
 {
     return(this.GetWIPMsgs(exportImportInquiry, (ExportImportInquiry_Parameters)null, request, out result));
 }
예제 #2
0
 public ResultStatus GetEnvironment(
     ExportImportInquiry cdo,
     ExportImportInquiry_Request request,
     out ExportImportInquiry_Result result)
 {
     result = (ExportImportInquiry_Result)null;
     try
     {
         return(((IExportImportInquiryService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
예제 #3
0
 public ResultStatus CommitTransaction(
     ExportImportInquiry_Request request,
     out ExportImportInquiry_Result result)
 {
     result = (ExportImportInquiry_Result)null;
     try
     {
         ExportImportInquiryMethod[] methods = new ExportImportInquiryMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IExportImportInquiryService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
예제 #4
0
        public ResultStatus ExecuteTransaction(
            ExportImportInquiry cdo,
            ExportImportInquiry_Request request,
            out ExportImportInquiry_Result result)
        {
            result = (ExportImportInquiry_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IExportImportInquiryService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new ExportImportInquiryMethod(cdo, ExportImportInquiryMethods.ExecuteTransaction, (ExportImportInquiry_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);
        }
예제 #5
0
        public ResultStatus GetWIPMsgs(
            ExportImportInquiry exportImportInquiry,
            ExportImportInquiry_Parameters parameters,
            ExportImportInquiry_Request request,
            out ExportImportInquiry_Result result)
        {
            result = (ExportImportInquiry_Result)null;
            this.OnBeforeCall(nameof(GetWIPMsgs), (DCObject)exportImportInquiry, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IExportImportInquiryService)this._Channel).GetWIPMsgs(this._UserProfile, exportImportInquiry, parameters, request, out result) : this.AddMethod((Method) new ExportImportInquiryMethod(exportImportInquiry, ExportImportInquiryMethods.GetWIPMsgs, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(GetWIPMsgs), res, (DCObject)exportImportInquiry, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
예제 #6
0
 public ResultStatus ExecuteTransaction(
     ExportImportInquiry_Request request,
     out ExportImportInquiry_Result result)
 {
     return(this.ExecuteTransaction((ExportImportInquiry)null, request, out result));
 }
예제 #7
0
 public ResultStatus GetEnvironment(
     ExportImportInquiry_Request request,
     out ExportImportInquiry_Result result)
 {
     return(this.GetEnvironment((ExportImportInquiry)null, request, out result));
 }