Ejemplo n.º 1
0
 public ResultStatus LoadESigDetails(
     LossReasonMaint lossReasonMaint,
     LossReasonMaint_Request request,
     out LossReasonMaint_Result result)
 {
     return(this.LoadESigDetails(lossReasonMaint, (LossReasonMaint_LoadESigDetails_Parameters)null, request, out result));
 }
Ejemplo n.º 2
0
 public ResultStatus Freeze(
     LossReasonMaint lossReasonMaint,
     LossReasonMaint_Request request,
     out LossReasonMaint_Result result)
 {
     return(this.Freeze(lossReasonMaint, (LossReasonMaint_Parameters)null, request, out result));
 }
Ejemplo n.º 3
0
 public ResultStatus GetWIPMsgs(
     LossReasonMaint lossReasonMaint,
     LossReasonMaint_Request request,
     out LossReasonMaint_Result result)
 {
     return(this.GetWIPMsgs(lossReasonMaint, (LossReasonMaint_Parameters)null, request, out result));
 }
Ejemplo n.º 4
0
 public ResultStatus GetEnvironment(
     LossReasonMaint cdo,
     LossReasonMaint_Request request,
     out LossReasonMaint_Result result)
 {
     result = (LossReasonMaint_Result)null;
     try
     {
         return(((ILossReasonMaintService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Ejemplo n.º 5
0
 public ResultStatus CommitTransaction(
     LossReasonMaint_Request request,
     out LossReasonMaint_Result result)
 {
     result = (LossReasonMaint_Result)null;
     try
     {
         LossReasonMaintMethod[] methods = new LossReasonMaintMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((ILossReasonMaintService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Ejemplo n.º 6
0
        public ResultStatus ExecuteTransaction(
            LossReasonMaint cdo,
            LossReasonMaint_Request request,
            out LossReasonMaint_Result result)
        {
            result = (LossReasonMaint_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((ILossReasonMaintService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new LossReasonMaintMethod(cdo, LossReasonMaintMethods.ExecuteTransaction, (LossReasonMaint_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);
        }
Ejemplo n.º 7
0
        public ResultStatus Freeze(
            LossReasonMaint lossReasonMaint,
            LossReasonMaint_Parameters parameters,
            LossReasonMaint_Request request,
            out LossReasonMaint_Result result)
        {
            result = (LossReasonMaint_Result)null;
            this.OnBeforeCall(nameof(Freeze), (DCObject)lossReasonMaint, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((ILossReasonMaintService)this._Channel).Freeze(this._UserProfile, lossReasonMaint, parameters, request, out result) : this.AddMethod((Method) new LossReasonMaintMethod(lossReasonMaint, LossReasonMaintMethods.Freeze, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(Freeze), res, (DCObject)lossReasonMaint, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Ejemplo n.º 8
0
 public ResultStatus ExecuteTransaction(
     LossReasonMaint_Request request,
     out LossReasonMaint_Result result)
 {
     return(this.ExecuteTransaction((LossReasonMaint)null, request, out result));
 }
Ejemplo n.º 9
0
 public ResultStatus GetEnvironment(
     LossReasonMaint_Request request,
     out LossReasonMaint_Result result)
 {
     return(this.GetEnvironment((LossReasonMaint)null, request, out result));
 }