예제 #1
0
 public ResultStatus LoadESigDetails(
     MaintenanceReasonMaint maintenanceReasonMaint,
     MaintenanceReasonMaint_Request request,
     out MaintenanceReasonMaint_Result result)
 {
     return(this.LoadESigDetails(maintenanceReasonMaint, (MaintenanceReasonMaint_LoadESigDetails_Parameters)null, request, out result));
 }
예제 #2
0
 public ResultStatus Freeze(
     MaintenanceReasonMaint maintenanceReasonMaint,
     MaintenanceReasonMaint_Request request,
     out MaintenanceReasonMaint_Result result)
 {
     return(this.Freeze(maintenanceReasonMaint, (MaintenanceReasonMaint_Parameters)null, request, out result));
 }
예제 #3
0
 public ResultStatus GetWIPMsgs(
     MaintenanceReasonMaint maintenanceReasonMaint,
     MaintenanceReasonMaint_Request request,
     out MaintenanceReasonMaint_Result result)
 {
     return(this.GetWIPMsgs(maintenanceReasonMaint, (MaintenanceReasonMaint_Parameters)null, request, out result));
 }
예제 #4
0
 public ResultStatus GetEnvironment(
     MaintenanceReasonMaint cdo,
     MaintenanceReasonMaint_Request request,
     out MaintenanceReasonMaint_Result result)
 {
     result = (MaintenanceReasonMaint_Result)null;
     try
     {
         return(((IMaintenanceReasonMaintService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
예제 #5
0
 public ResultStatus CommitTransaction(
     MaintenanceReasonMaint_Request request,
     out MaintenanceReasonMaint_Result result)
 {
     result = (MaintenanceReasonMaint_Result)null;
     try
     {
         MaintenanceReasonMaintMethod[] methods = new MaintenanceReasonMaintMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IMaintenanceReasonMaintService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
예제 #6
0
        public ResultStatus ExecuteTransaction(
            MaintenanceReasonMaint cdo,
            MaintenanceReasonMaint_Request request,
            out MaintenanceReasonMaint_Result result)
        {
            result = (MaintenanceReasonMaint_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IMaintenanceReasonMaintService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new MaintenanceReasonMaintMethod(cdo, MaintenanceReasonMaintMethods.ExecuteTransaction, (MaintenanceReasonMaint_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(
            MaintenanceReasonMaint maintenanceReasonMaint,
            MaintenanceReasonMaint_Parameters parameters,
            MaintenanceReasonMaint_Request request,
            out MaintenanceReasonMaint_Result result)
        {
            result = (MaintenanceReasonMaint_Result)null;
            this.OnBeforeCall(nameof(Freeze), (DCObject)maintenanceReasonMaint, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IMaintenanceReasonMaintService)this._Channel).Freeze(this._UserProfile, maintenanceReasonMaint, parameters, request, out result) : this.AddMethod((Method) new MaintenanceReasonMaintMethod(maintenanceReasonMaint, MaintenanceReasonMaintMethods.Freeze, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(Freeze), res, (DCObject)maintenanceReasonMaint, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
예제 #8
0
 public ResultStatus ExecuteTransaction(
     MaintenanceReasonMaint_Request request,
     out MaintenanceReasonMaint_Result result)
 {
     return(this.ExecuteTransaction((MaintenanceReasonMaint)null, request, out result));
 }
예제 #9
0
 public ResultStatus GetEnvironment(
     MaintenanceReasonMaint_Request request,
     out MaintenanceReasonMaint_Result result)
 {
     return(this.GetEnvironment((MaintenanceReasonMaint)null, request, out result));
 }