예제 #1
0
 public ResultStatus GetActions(
     NCRTxn nCRTxn,
     NCRTxn_Request request,
     out NCRTxn_Result result)
 {
     return(this.GetActions(nCRTxn, (NCRTxn_Parameters)null, request, out result));
 }
예제 #2
0
 public ResultStatus CreateParametricData(
     NCRTxn nCRTxn,
     NCRTxn_Request request,
     out NCRTxn_Result result)
 {
     return(this.CreateParametricData(nCRTxn, (NCRTxn_Parameters)null, request, out result));
 }
예제 #3
0
 public ResultStatus ProcessComputation(
     NCRTxn nCRTxn,
     NCRTxn_Request request,
     out NCRTxn_Result result)
 {
     return(this.ProcessComputation(nCRTxn, (NCRTxn_Parameters)null, request, out result));
 }
예제 #4
0
 public ResultStatus LoadESigDetails(
     NCRTxn nCRTxn,
     NCRTxn_Request request,
     out NCRTxn_Result result)
 {
     return(this.LoadESigDetails(nCRTxn, (NCRTxn_LoadESigDetails_Parameters)null, request, out result));
 }
예제 #5
0
 public ResultStatus GetEnvironment(
     NCRTxn cdo,
     NCRTxn_Request request,
     out NCRTxn_Result result)
 {
     result = (NCRTxn_Result)null;
     try
     {
         return(((INCRTxnService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
예제 #6
0
 public ResultStatus CommitTransaction(
     NCRTxn_Request request,
     out NCRTxn_Result result)
 {
     result = (NCRTxn_Result)null;
     try
     {
         NCRTxnMethod[] methods = new NCRTxnMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((INCRTxnService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
예제 #7
0
        public ResultStatus ExecuteTransaction(
            NCRTxn cdo,
            NCRTxn_Request request,
            out NCRTxn_Result result)
        {
            result = (NCRTxn_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((INCRTxnService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new NCRTxnMethod(cdo, NCRTxnMethods.ExecuteTransaction, (NCRTxn_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);
        }
예제 #8
0
        public ResultStatus GetActions(
            NCRTxn nCRTxn,
            NCRTxn_Parameters parameters,
            NCRTxn_Request request,
            out NCRTxn_Result result)
        {
            result = (NCRTxn_Result)null;
            this.OnBeforeCall(nameof(GetActions), (DCObject)nCRTxn, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((INCRTxnService)this._Channel).GetActions(this._UserProfile, nCRTxn, parameters, request, out result) : this.AddMethod((Method) new NCRTxnMethod(nCRTxn, NCRTxnMethods.GetActions, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(GetActions), res, (DCObject)nCRTxn, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
예제 #9
0
 public ResultStatus ExecuteTransaction(
     NCRTxn_Request request,
     out NCRTxn_Result result)
 {
     return(this.ExecuteTransaction((NCRTxn)null, request, out result));
 }
예제 #10
0
 public ResultStatus GetEnvironment(NCRTxn_Request request, out NCRTxn_Result result)
 {
     return(this.GetEnvironment((NCRTxn)null, request, out result));
 }