示例#1
0
 public ResultStatus CreateParametricData(
     GenericTxn genericTxn,
     GenericTxn_Request request,
     out GenericTxn_Result result)
 {
     return(this.CreateParametricData(genericTxn, (GenericTxn_Parameters)null, request, out result));
 }
示例#2
0
 public ResultStatus GetActions(
     GenericTxn genericTxn,
     GenericTxn_Request request,
     out GenericTxn_Result result)
 {
     return(this.GetActions(genericTxn, (GenericTxn_Parameters)null, request, out result));
 }
示例#3
0
 public ResultStatus ProcessComputation(
     GenericTxn genericTxn,
     GenericTxn_Request request,
     out GenericTxn_Result result)
 {
     return(this.ProcessComputation(genericTxn, (GenericTxn_Parameters)null, request, out result));
 }
示例#4
0
 public ResultStatus PostExecuteValidate(
     GenericTxn genericTxn,
     GenericTxn_Request request,
     out GenericTxn_Result result)
 {
     return(this.PostExecuteValidate(genericTxn, (GenericTxn_Parameters)null, request, out result));
 }
示例#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));
 }
示例#6
0
 public GenericTxnMethod(
     GenericTxn Cdo,
     GenericTxnMethods Method,
     GenericTxn_Parameters Parameters)
 {
     this.Cdo           = Cdo;
     this.ServiceMethod = Method;
     this.Parameters    = Parameters;
 }
示例#7
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));
     }
 }
示例#8
0
        public ResultStatus AddDataTransaction(GenericTxn cdo)
        {
            this.OnBeforeCall(nameof(AddDataTransaction), (DCObject)cdo, (Parameters)null, (Request)null);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? this.GetAddDataTransactionException() : this.AddMethod((Method) new GenericTxnMethod(cdo, GenericTxnMethods.AddDataTransaction, (GenericTxn_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);
        }
示例#9
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);
        }
示例#10
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);
        }
示例#11
0
 public ResultStatus GetActions(GenericTxn genericTxn)
 {
     return(this.GetActions(genericTxn, (GenericTxn_Parameters)null, (GenericTxn_Request)null, out GenericTxn_Result _));
 }
示例#12
0
 public ResultStatus ExecuteTransaction(GenericTxn cdo)
 {
     return(this.ExecuteTransaction(cdo, (GenericTxn_Request)null, out GenericTxn_Result _));
 }
示例#13
0
 public ResultStatus CreateParametricData(GenericTxn genericTxn)
 {
     return(this.CreateParametricData(genericTxn, (GenericTxn_Parameters)null, (GenericTxn_Request)null, out GenericTxn_Result _));
 }
示例#14
0
 public ResultStatus Load(GenericTxn genericTxn)
 {
     return(this.Load(genericTxn, (GenericTxn_Parameters)null, (GenericTxn_Request)null, out GenericTxn_Result _));
 }