示例#1
0
 public ResultStatus GetStatusDetails(
     ImportStatusInquiry importStatusInquiry,
     ImportStatusInquiry_Request request,
     out ImportStatusInquiry_Result result)
 {
     return(this.GetStatusDetails(importStatusInquiry, (ImportStatusInquiry_Parameters)null, request, out result));
 }
示例#2
0
 public ResultStatus GetEnvironment(
     ImportStatusInquiry cdo,
     ImportStatusInquiry_Request request,
     out ImportStatusInquiry_Result result)
 {
     result = (ImportStatusInquiry_Result)null;
     try
     {
         return(((IImportStatusInquiryService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
示例#3
0
 public ResultStatus CommitTransaction(
     ImportStatusInquiry_Request request,
     out ImportStatusInquiry_Result result)
 {
     result = (ImportStatusInquiry_Result)null;
     try
     {
         ImportStatusInquiryMethod[] methods = new ImportStatusInquiryMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IImportStatusInquiryService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
示例#4
0
        public ResultStatus ExecuteTransaction(
            ImportStatusInquiry cdo,
            ImportStatusInquiry_Request request,
            out ImportStatusInquiry_Result result)
        {
            result = (ImportStatusInquiry_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IImportStatusInquiryService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new ImportStatusInquiryMethod(cdo, ImportStatusInquiryMethods.ExecuteTransaction, (ImportStatusInquiry_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 GetStatusDetails(
            ImportStatusInquiry importStatusInquiry,
            ImportStatusInquiry_Parameters parameters,
            ImportStatusInquiry_Request request,
            out ImportStatusInquiry_Result result)
        {
            result = (ImportStatusInquiry_Result)null;
            this.OnBeforeCall(nameof(GetStatusDetails), (DCObject)importStatusInquiry, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IImportStatusInquiryService)this._Channel).GetStatusDetails(this._UserProfile, importStatusInquiry, parameters, request, out result) : this.AddMethod((Method) new ImportStatusInquiryMethod(importStatusInquiry, ImportStatusInquiryMethods.GetStatusDetails, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(GetStatusDetails), res, (DCObject)importStatusInquiry, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
示例#6
0
 public ResultStatus ExecuteTransaction(
     ImportStatusInquiry_Request request,
     out ImportStatusInquiry_Result result)
 {
     return(this.ExecuteTransaction((ImportStatusInquiry)null, request, out result));
 }
示例#7
0
 public ResultStatus GetEnvironment(
     ImportStatusInquiry_Request request,
     out ImportStatusInquiry_Result result)
 {
     return(this.GetEnvironment((ImportStatusInquiry)null, request, out result));
 }