예제 #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 ExportImportInquiryMethod(
     ExportImportInquiry Cdo,
     ExportImportInquiryMethods Method,
     ExportImportInquiry_Parameters Parameters)
 {
     this.Cdo           = Cdo;
     this.ServiceMethod = Method;
     this.Parameters    = Parameters;
 }
예제 #3
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));
     }
 }
예제 #4
0
        public ResultStatus AddDataTransaction(ExportImportInquiry cdo)
        {
            this.OnBeforeCall(nameof(AddDataTransaction), (DCObject)cdo, (Parameters)null, (Request)null);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? this.GetAddDataTransactionException() : this.AddMethod((Method) new ExportImportInquiryMethod(cdo, ExportImportInquiryMethods.AddDataTransaction, (ExportImportInquiry_Parameters)null));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                Result result;
                this.OnAfterCall(nameof(AddDataTransaction), res, (DCObject)cdo, (Parameters)null, (Request)null, result);
            }
            return(res);
        }
예제 #5
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);
        }
예제 #6
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);
        }
예제 #7
0
 public ResultStatus GetWIPMsgs(ExportImportInquiry exportImportInquiry)
 {
     return(this.GetWIPMsgs(exportImportInquiry, (ExportImportInquiry_Parameters)null, (ExportImportInquiry_Request)null, out ExportImportInquiry_Result _));
 }
예제 #8
0
 public ResultStatus ExecuteTransaction(ExportImportInquiry cdo)
 {
     return(this.ExecuteTransaction(cdo, (ExportImportInquiry_Request)null, out ExportImportInquiry_Result _));
 }