示例#1
0
 public ResultStatus LoadESigDetails(
     TrainingRecordStatusMaint trainingRecordStatusMaint,
     TrainingRecordStatusMaint_Request request,
     out TrainingRecordStatusMaint_Result result)
 {
     return(this.LoadESigDetails(trainingRecordStatusMaint, (TrainingRecordStatusMaint_LoadESigDetails_Parameters)null, request, out result));
 }
示例#2
0
 public ResultStatus Freeze(
     TrainingRecordStatusMaint trainingRecordStatusMaint,
     TrainingRecordStatusMaint_Request request,
     out TrainingRecordStatusMaint_Result result)
 {
     return(this.Freeze(trainingRecordStatusMaint, (TrainingRecordStatusMaint_Parameters)null, request, out result));
 }
示例#3
0
 public ResultStatus GetWIPMsgs(
     TrainingRecordStatusMaint trainingRecordStatusMaint,
     TrainingRecordStatusMaint_Request request,
     out TrainingRecordStatusMaint_Result result)
 {
     return(this.GetWIPMsgs(trainingRecordStatusMaint, (TrainingRecordStatusMaint_Parameters)null, request, out result));
 }
示例#4
0
 public ResultStatus GetEnvironment(
     TrainingRecordStatusMaint cdo,
     TrainingRecordStatusMaint_Request request,
     out TrainingRecordStatusMaint_Result result)
 {
     result = (TrainingRecordStatusMaint_Result)null;
     try
     {
         return(((ITrainingRecordStatusMaintService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
示例#5
0
 public ResultStatus CommitTransaction(
     TrainingRecordStatusMaint_Request request,
     out TrainingRecordStatusMaint_Result result)
 {
     result = (TrainingRecordStatusMaint_Result)null;
     try
     {
         TrainingRecordStatusMaintMethod[] methods = new TrainingRecordStatusMaintMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((ITrainingRecordStatusMaintService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
示例#6
0
        public ResultStatus ExecuteTransaction(
            TrainingRecordStatusMaint cdo,
            TrainingRecordStatusMaint_Request request,
            out TrainingRecordStatusMaint_Result result)
        {
            result = (TrainingRecordStatusMaint_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((ITrainingRecordStatusMaintService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new TrainingRecordStatusMaintMethod(cdo, TrainingRecordStatusMaintMethods.ExecuteTransaction, (TrainingRecordStatusMaint_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);
        }
示例#7
0
        public ResultStatus Freeze(
            TrainingRecordStatusMaint trainingRecordStatusMaint,
            TrainingRecordStatusMaint_Parameters parameters,
            TrainingRecordStatusMaint_Request request,
            out TrainingRecordStatusMaint_Result result)
        {
            result = (TrainingRecordStatusMaint_Result)null;
            this.OnBeforeCall(nameof(Freeze), (DCObject)trainingRecordStatusMaint, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((ITrainingRecordStatusMaintService)this._Channel).Freeze(this._UserProfile, trainingRecordStatusMaint, parameters, request, out result) : this.AddMethod((Method) new TrainingRecordStatusMaintMethod(trainingRecordStatusMaint, TrainingRecordStatusMaintMethods.Freeze, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(Freeze), res, (DCObject)trainingRecordStatusMaint, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
示例#8
0
 public ResultStatus ExecuteTransaction(
     TrainingRecordStatusMaint_Request request,
     out TrainingRecordStatusMaint_Result result)
 {
     return(this.ExecuteTransaction((TrainingRecordStatusMaint)null, request, out result));
 }
示例#9
0
 public ResultStatus GetEnvironment(
     TrainingRecordStatusMaint_Request request,
     out TrainingRecordStatusMaint_Result result)
 {
     return(this.GetEnvironment((TrainingRecordStatusMaint)null, request, out result));
 }