Example #1
0
 public ResultStatus Freeze(
     TrainingRecordMaint trainingRecordMaint,
     TrainingRecordMaint_Request request,
     out TrainingRecordMaint_Result result)
 {
     return(this.Freeze(trainingRecordMaint, (TrainingRecordMaint_Parameters)null, request, out result));
 }
Example #2
0
 public ResultStatus ValidateEmployeeRoleCombination(
     TrainingRecordMaint trainingRecordMaint,
     TrainingRecordMaint_Request request,
     out TrainingRecordMaint_Result result)
 {
     return(this.ValidateEmployeeRoleCombination(trainingRecordMaint, (TrainingRecordMaint_ValidateEmployeeRoleCombination_Parameters)null, request, out result));
 }
Example #3
0
 public ResultStatus ValidateTrainer(
     TrainingRecordMaint trainingRecordMaint,
     TrainingRecordMaint_Request request,
     out TrainingRecordMaint_Result result)
 {
     return(this.ValidateTrainer(trainingRecordMaint, (TrainingRecordMaint_Parameters)null, request, out result));
 }
Example #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));
 }
Example #5
0
 public ResultStatus GetWIPMsgs(
     TrainingRecordMaint trainingRecordMaint,
     TrainingRecordMaint_Request request,
     out TrainingRecordMaint_Result result)
 {
     return(this.GetWIPMsgs(trainingRecordMaint, (TrainingRecordMaint_Parameters)null, request, out result));
 }
Example #6
0
 public TrainingRecordMaintMethod(
     TrainingRecordMaint Cdo,
     TrainingRecordMaintMethods Method,
     TrainingRecordMaint_Parameters Parameters)
 {
     this.Cdo           = Cdo;
     this.ServiceMethod = Method;
     this.Parameters    = Parameters;
 }
Example #7
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));
     }
 }
Example #8
0
        public ResultStatus AddDataTransaction(TrainingRecordMaint cdo)
        {
            this.OnBeforeCall(nameof(AddDataTransaction), (DCObject)cdo, (Parameters)null, (Request)null);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? this.GetAddDataTransactionException() : this.AddMethod((Method) new TrainingRecordMaintMethod(cdo, TrainingRecordMaintMethods.AddDataTransaction, (TrainingRecordMaint_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);
        }
Example #9
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);
        }
Example #10
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);
        }
Example #11
0
 public ResultStatus ExecuteTransaction(TrainingRecordMaint cdo)
 {
     return(this.ExecuteTransaction(cdo, (TrainingRecordMaint_Request)null, out TrainingRecordMaint_Result _));
 }
Example #12
0
 public ResultStatus ValidateRefInfoIsUnique(TrainingRecordMaint trainingRecordMaint)
 {
     return(this.ValidateRefInfoIsUnique(trainingRecordMaint, (TrainingRecordMaint_Parameters)null, (TrainingRecordMaint_Request)null, out TrainingRecordMaint_Result _));
 }
Example #13
0
 public ResultStatus ValidateESigRequirement(TrainingRecordMaint trainingRecordMaint)
 {
     return(this.ValidateESigRequirement(trainingRecordMaint, (TrainingRecordMaint_Parameters)null, (TrainingRecordMaint_Request)null, out TrainingRecordMaint_Result _));
 }
Example #14
0
 public ResultStatus Delete(TrainingRecordMaint trainingRecordMaint)
 {
     return(this.Delete(trainingRecordMaint, (TrainingRecordMaint_Parameters)null, (TrainingRecordMaint_Request)null, out TrainingRecordMaint_Result _));
 }
Example #15
0
 public ResultStatus GetTrainingRecord(TrainingRecordMaint trainingRecordMaint)
 {
     return(this.GetTrainingRecord(trainingRecordMaint, (TrainingRecordMaint_GetTrainingRecord_Parameters)null, (TrainingRecordMaint_Request)null, out TrainingRecordMaint_Result _));
 }