Beispiel #1
0
 public ResultStatus LoadESigDetails(
     TrainingPlanMaint trainingPlanMaint,
     TrainingPlanMaint_Request request,
     out TrainingPlanMaint_Result result)
 {
     return(this.LoadESigDetails(trainingPlanMaint, (TrainingPlanMaint_LoadESigDetails_Parameters)null, request, out result));
 }
Beispiel #2
0
 public ResultStatus Freeze(
     TrainingPlanMaint trainingPlanMaint,
     TrainingPlanMaint_Request request,
     out TrainingPlanMaint_Result result)
 {
     return(this.Freeze(trainingPlanMaint, (TrainingPlanMaint_Parameters)null, request, out result));
 }
Beispiel #3
0
 public ResultStatus GetWIPMsgs(
     TrainingPlanMaint trainingPlanMaint,
     TrainingPlanMaint_Request request,
     out TrainingPlanMaint_Result result)
 {
     return(this.GetWIPMsgs(trainingPlanMaint, (TrainingPlanMaint_Parameters)null, request, out result));
 }
Beispiel #4
0
 public ResultStatus GetEnvironment(
     TrainingPlanMaint cdo,
     TrainingPlanMaint_Request request,
     out TrainingPlanMaint_Result result)
 {
     result = (TrainingPlanMaint_Result)null;
     try
     {
         return(((ITrainingPlanMaintService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Beispiel #5
0
 public ResultStatus CommitTransaction(
     TrainingPlanMaint_Request request,
     out TrainingPlanMaint_Result result)
 {
     result = (TrainingPlanMaint_Result)null;
     try
     {
         TrainingPlanMaintMethod[] methods = new TrainingPlanMaintMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((ITrainingPlanMaintService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Beispiel #6
0
        public ResultStatus ExecuteTransaction(
            TrainingPlanMaint cdo,
            TrainingPlanMaint_Request request,
            out TrainingPlanMaint_Result result)
        {
            result = (TrainingPlanMaint_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((ITrainingPlanMaintService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new TrainingPlanMaintMethod(cdo, TrainingPlanMaintMethods.ExecuteTransaction, (TrainingPlanMaint_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);
        }
Beispiel #7
0
        public ResultStatus Freeze(
            TrainingPlanMaint trainingPlanMaint,
            TrainingPlanMaint_Parameters parameters,
            TrainingPlanMaint_Request request,
            out TrainingPlanMaint_Result result)
        {
            result = (TrainingPlanMaint_Result)null;
            this.OnBeforeCall(nameof(Freeze), (DCObject)trainingPlanMaint, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((ITrainingPlanMaintService)this._Channel).Freeze(this._UserProfile, trainingPlanMaint, parameters, request, out result) : this.AddMethod((Method) new TrainingPlanMaintMethod(trainingPlanMaint, TrainingPlanMaintMethods.Freeze, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(Freeze), res, (DCObject)trainingPlanMaint, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Beispiel #8
0
 public ResultStatus ExecuteTransaction(
     TrainingPlanMaint_Request request,
     out TrainingPlanMaint_Result result)
 {
     return(this.ExecuteTransaction((TrainingPlanMaint)null, request, out result));
 }
Beispiel #9
0
 public ResultStatus GetEnvironment(
     TrainingPlanMaint_Request request,
     out TrainingPlanMaint_Result result)
 {
     return(this.GetEnvironment((TrainingPlanMaint)null, request, out result));
 }