Exemple #1
0
 public ResultStatus GetWIPMsgs(
     DelegateTaskInquiry delegateTaskInquiry,
     DelegateTaskInquiry_Request request,
     out DelegateTaskInquiry_Result result)
 {
     return(this.GetWIPMsgs(delegateTaskInquiry, (DelegateTaskInquiry_Parameters)null, request, out result));
 }
Exemple #2
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));
     }
 }
Exemple #3
0
 public ResultStatus CommitTransaction(
     DelegateTaskInquiry_Request request,
     out DelegateTaskInquiry_Result result)
 {
     result = (DelegateTaskInquiry_Result)null;
     try
     {
         DelegateTaskInquiryMethod[] methods = new DelegateTaskInquiryMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IDelegateTaskInquiryService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Exemple #4
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);
        }
Exemple #5
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);
        }
Exemple #6
0
 public ResultStatus ExecuteTransaction(
     DelegateTaskInquiry_Request request,
     out DelegateTaskInquiry_Result result)
 {
     return(this.ExecuteTransaction((DelegateTaskInquiry)null, request, out result));
 }
Exemple #7
0
 public ResultStatus GetEnvironment(
     DelegateTaskInquiry_Request request,
     out DelegateTaskInquiry_Result result)
 {
     return(this.GetEnvironment((DelegateTaskInquiry)null, request, out result));
 }