Esempio n. 1
0
 public ResultStatus ValidateTrainer(
     TrainingRecordMaint trainingRecordMaint,
     TrainingRecordMaint_Request request,
     out TrainingRecordMaint_Result result)
 {
     return(this.ValidateTrainer(trainingRecordMaint, (TrainingRecordMaint_Parameters)null, request, out result));
 }
Esempio n. 2
0
 public ResultStatus Freeze(
     TrainingRecordMaint trainingRecordMaint,
     TrainingRecordMaint_Request request,
     out TrainingRecordMaint_Result result)
 {
     return(this.Freeze(trainingRecordMaint, (TrainingRecordMaint_Parameters)null, request, out result));
 }
Esempio n. 3
0
 public ResultStatus ValidateEmployeeRoleCombination(
     TrainingRecordMaint trainingRecordMaint,
     TrainingRecordMaint_Request request,
     out TrainingRecordMaint_Result result)
 {
     return(this.ValidateEmployeeRoleCombination(trainingRecordMaint, (TrainingRecordMaint_ValidateEmployeeRoleCombination_Parameters)null, request, out result));
 }
Esempio n. 4
0
 public ResultStatus LoadESigDetails(
     TrainingRecordMaint trainingRecordMaint,
     TrainingRecordMaint_Request request,
     out TrainingRecordMaint_Result result)
 {
     return(this.LoadESigDetails(trainingRecordMaint, (TrainingRecordMaint_LoadESigDetails_Parameters)null, request, out result));
 }
Esempio n. 5
0
 public ResultStatus GetWIPMsgs(
     TrainingRecordMaint trainingRecordMaint,
     TrainingRecordMaint_Request request,
     out TrainingRecordMaint_Result result)
 {
     return(this.GetWIPMsgs(trainingRecordMaint, (TrainingRecordMaint_Parameters)null, request, out result));
 }
Esempio n. 6
0
 public ResultStatus GetEnvironment(
     TrainingRecordMaint cdo,
     TrainingRecordMaint_Request request,
     out TrainingRecordMaint_Result result)
 {
     result = (TrainingRecordMaint_Result)null;
     try
     {
         return(((ITrainingRecordMaintService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Esempio n. 7
0
 public ResultStatus CommitTransaction(
     TrainingRecordMaint_Request request,
     out TrainingRecordMaint_Result result)
 {
     result = (TrainingRecordMaint_Result)null;
     try
     {
         TrainingRecordMaintMethod[] methods = new TrainingRecordMaintMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((ITrainingRecordMaintService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Esempio n. 8
0
        public ResultStatus ExecuteTransaction(
            TrainingRecordMaint cdo,
            TrainingRecordMaint_Request request,
            out TrainingRecordMaint_Result result)
        {
            result = (TrainingRecordMaint_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((ITrainingRecordMaintService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new TrainingRecordMaintMethod(cdo, TrainingRecordMaintMethods.ExecuteTransaction, (TrainingRecordMaint_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 Freeze(
            TrainingRecordMaint trainingRecordMaint,
            TrainingRecordMaint_Parameters parameters,
            TrainingRecordMaint_Request request,
            out TrainingRecordMaint_Result result)
        {
            result = (TrainingRecordMaint_Result)null;
            this.OnBeforeCall(nameof(Freeze), (DCObject)trainingRecordMaint, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((ITrainingRecordMaintService)this._Channel).Freeze(this._UserProfile, trainingRecordMaint, parameters, request, out result) : this.AddMethod((Method) new TrainingRecordMaintMethod(trainingRecordMaint, TrainingRecordMaintMethods.Freeze, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(Freeze), res, (DCObject)trainingRecordMaint, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Esempio n. 10
0
 public ResultStatus ExecuteTransaction(
     TrainingRecordMaint_Request request,
     out TrainingRecordMaint_Result result)
 {
     return(this.ExecuteTransaction((TrainingRecordMaint)null, request, out result));
 }
Esempio n. 11
0
 public ResultStatus GetEnvironment(
     TrainingRecordMaint_Request request,
     out TrainingRecordMaint_Result result)
 {
     return(this.GetEnvironment((TrainingRecordMaint)null, request, out result));
 }