예제 #1
0
 public ResultStatus GetWIPMsgs(
     DelegateTaskInquiry delegateTaskInquiry,
     DelegateTaskInquiry_Request request,
     out DelegateTaskInquiry_Result result)
 {
     return(this.GetWIPMsgs(delegateTaskInquiry, (DelegateTaskInquiry_Parameters)null, request, out result));
 }
예제 #2
0
 public DelegateTaskInquiryMethod(
     DelegateTaskInquiry Cdo,
     DelegateTaskInquiryMethods Method,
     DelegateTaskInquiry_Parameters Parameters)
 {
     this.Cdo           = Cdo;
     this.ServiceMethod = Method;
     this.Parameters    = Parameters;
 }
예제 #3
0
 public ResultStatus GetEnvironment(
     DelegateTaskInquiry cdo,
     DelegateTaskInquiry_Request request,
     out DelegateTaskInquiry_Result result)
 {
     result = (DelegateTaskInquiry_Result)null;
     try
     {
         return(((IDelegateTaskInquiryService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
예제 #4
0
        public ResultStatus AddDataTransaction(DelegateTaskInquiry cdo)
        {
            this.OnBeforeCall(nameof(AddDataTransaction), (DCObject)cdo, (Parameters)null, (Request)null);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? this.GetAddDataTransactionException() : this.AddMethod((Method) new DelegateTaskInquiryMethod(cdo, DelegateTaskInquiryMethods.AddDataTransaction, (DelegateTaskInquiry_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(
            DelegateTaskInquiry cdo,
            DelegateTaskInquiry_Request request,
            out DelegateTaskInquiry_Result result)
        {
            result = (DelegateTaskInquiry_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IDelegateTaskInquiryService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new DelegateTaskInquiryMethod(cdo, DelegateTaskInquiryMethods.ExecuteTransaction, (DelegateTaskInquiry_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(
            DelegateTaskInquiry delegateTaskInquiry,
            DelegateTaskInquiry_Parameters parameters,
            DelegateTaskInquiry_Request request,
            out DelegateTaskInquiry_Result result)
        {
            result = (DelegateTaskInquiry_Result)null;
            this.OnBeforeCall(nameof(GetWIPMsgs), (DCObject)delegateTaskInquiry, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IDelegateTaskInquiryService)this._Channel).GetWIPMsgs(this._UserProfile, delegateTaskInquiry, parameters, request, out result) : this.AddMethod((Method) new DelegateTaskInquiryMethod(delegateTaskInquiry, DelegateTaskInquiryMethods.GetWIPMsgs, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(GetWIPMsgs), res, (DCObject)delegateTaskInquiry, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
예제 #7
0
 public ResultStatus ExecuteTransaction(DelegateTaskInquiry cdo)
 {
     return(this.ExecuteTransaction(cdo, (DelegateTaskInquiry_Request)null, out DelegateTaskInquiry_Result _));
 }