Esempio n. 1
0
 public ResultStatus CreateParametricData(
     GenericTxn genericTxn,
     GenericTxn_Request request,
     out GenericTxn_Result result)
 {
     return(this.CreateParametricData(genericTxn, (GenericTxn_Parameters)null, request, out result));
 }
Esempio n. 2
0
 public ResultStatus GetActions(
     GenericTxn genericTxn,
     GenericTxn_Request request,
     out GenericTxn_Result result)
 {
     return(this.GetActions(genericTxn, (GenericTxn_Parameters)null, request, out result));
 }
Esempio n. 3
0
 public ResultStatus ProcessComputation(
     GenericTxn genericTxn,
     GenericTxn_Request request,
     out GenericTxn_Result result)
 {
     return(this.ProcessComputation(genericTxn, (GenericTxn_Parameters)null, request, out result));
 }
Esempio n. 4
0
 public ResultStatus PostExecuteValidate(
     GenericTxn genericTxn,
     GenericTxn_Request request,
     out GenericTxn_Result result)
 {
     return(this.PostExecuteValidate(genericTxn, (GenericTxn_Parameters)null, request, out result));
 }
Esempio n. 5
0
 public ResultStatus LoadESigDetails(
     GenericTxn genericTxn,
     GenericTxn_Request request,
     out GenericTxn_Result result)
 {
     return(this.LoadESigDetails(genericTxn, (GenericTxn_LoadESigDetails_Parameters)null, request, out result));
 }
Esempio n. 6
0
 public ResultStatus GetEnvironment(
     GenericTxn cdo,
     GenericTxn_Request request,
     out GenericTxn_Result result)
 {
     result = (GenericTxn_Result)null;
     try
     {
         return(((IGenericTxnService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Esempio n. 7
0
 public ResultStatus CommitTransaction(
     GenericTxn_Request request,
     out GenericTxn_Result result)
 {
     result = (GenericTxn_Result)null;
     try
     {
         GenericTxnMethod[] methods = new GenericTxnMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IGenericTxnService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Esempio n. 8
0
        public ResultStatus ExecuteTransaction(
            GenericTxn cdo,
            GenericTxn_Request request,
            out GenericTxn_Result result)
        {
            result = (GenericTxn_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IGenericTxnService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new GenericTxnMethod(cdo, GenericTxnMethods.ExecuteTransaction, (GenericTxn_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);
        }
Esempio n. 9
0
        public ResultStatus GetActions(
            GenericTxn genericTxn,
            GenericTxn_Parameters parameters,
            GenericTxn_Request request,
            out GenericTxn_Result result)
        {
            result = (GenericTxn_Result)null;
            this.OnBeforeCall(nameof(GetActions), (DCObject)genericTxn, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IGenericTxnService)this._Channel).GetActions(this._UserProfile, genericTxn, parameters, request, out result) : this.AddMethod((Method) new GenericTxnMethod(genericTxn, GenericTxnMethods.GetActions, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(GetActions), res, (DCObject)genericTxn, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Esempio n. 10
0
 public ResultStatus ExecuteTransaction(
     GenericTxn_Request request,
     out GenericTxn_Result result)
 {
     return(this.ExecuteTransaction((GenericTxn)null, request, out result));
 }
Esempio n. 11
0
 public ResultStatus GetEnvironment(
     GenericTxn_Request request,
     out GenericTxn_Result result)
 {
     return(this.GetEnvironment((GenericTxn)null, request, out result));
 }