Exemple #1
0
 public ResultStatus GetWIPMsgs(
     GetNCRs getNCRs,
     GetNCRs_Request request,
     out GetNCRs_Result result)
 {
     return(this.GetWIPMsgs(getNCRs, (GetNCRs_Parameters)null, request, out result));
 }
Exemple #2
0
 public ResultStatus GetEnvironment(
     GetNCRs cdo,
     GetNCRs_Request request,
     out GetNCRs_Result result)
 {
     result = (GetNCRs_Result)null;
     try
     {
         return(((IGetNCRsService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Exemple #3
0
 public ResultStatus CommitTransaction(
     GetNCRs_Request request,
     out GetNCRs_Result result)
 {
     result = (GetNCRs_Result)null;
     try
     {
         GetNCRsMethod[] methods = new GetNCRsMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IGetNCRsService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Exemple #4
0
        public ResultStatus ExecuteTransaction(
            GetNCRs cdo,
            GetNCRs_Request request,
            out GetNCRs_Result result)
        {
            result = (GetNCRs_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IGetNCRsService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new GetNCRsMethod(cdo, GetNCRsMethods.ExecuteTransaction, (GetNCRs_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(
            GetNCRs getNCRs,
            GetNCRs_Parameters parameters,
            GetNCRs_Request request,
            out GetNCRs_Result result)
        {
            result = (GetNCRs_Result)null;
            this.OnBeforeCall(nameof(GetWIPMsgs), (DCObject)getNCRs, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IGetNCRsService)this._Channel).GetWIPMsgs(this._UserProfile, getNCRs, parameters, request, out result) : this.AddMethod((Method) new GetNCRsMethod(getNCRs, GetNCRsMethods.GetWIPMsgs, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(GetWIPMsgs), res, (DCObject)getNCRs, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Exemple #6
0
 public ResultStatus ExecuteTransaction(
     GetNCRs_Request request,
     out GetNCRs_Result result)
 {
     return(this.ExecuteTransaction((GetNCRs)null, request, out result));
 }
Exemple #7
0
 public ResultStatus GetEnvironment(
     GetNCRs_Request request,
     out GetNCRs_Result result)
 {
     return(this.GetEnvironment((GetNCRs)null, request, out result));
 }