コード例 #1
0
 public ResultStatus Freeze(
     MfgCalendarUpdateCalShiftMaint mfgCalendarUpdateCalShiftMaint,
     MfgCalendarUpdateCalShiftMaint_Request request,
     out MfgCalendarUpdateCalShiftMaint_Result result)
 {
     return(this.Freeze(mfgCalendarUpdateCalShiftMaint, (MfgCalendarUpdateCalShiftMaint_Parameters)null, request, out result));
 }
コード例 #2
0
 public ResultStatus LoadESigDetails(
     MfgCalendarUpdateCalShiftMaint mfgCalendarUpdateCalShiftMaint,
     MfgCalendarUpdateCalShiftMaint_Request request,
     out MfgCalendarUpdateCalShiftMaint_Result result)
 {
     return(this.LoadESigDetails(mfgCalendarUpdateCalShiftMaint, (MfgCalendarUpdateCalShiftMaint_LoadESigDetails_Parameters)null, request, out result));
 }
コード例 #3
0
 public ResultStatus GetEnvironment(
     MfgCalendarUpdateCalShiftMaint cdo,
     MfgCalendarUpdateCalShiftMaint_Request request,
     out MfgCalendarUpdateCalShiftMaint_Result result)
 {
     result = (MfgCalendarUpdateCalShiftMaint_Result)null;
     try
     {
         return(((IMfgCalendarUpdateCalShiftMaintService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
コード例 #4
0
 public ResultStatus CommitTransaction(
     MfgCalendarUpdateCalShiftMaint_Request request,
     out MfgCalendarUpdateCalShiftMaint_Result result)
 {
     result = (MfgCalendarUpdateCalShiftMaint_Result)null;
     try
     {
         MfgCalendarUpdateCalShiftMaintMethod[] methods = new MfgCalendarUpdateCalShiftMaintMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IMfgCalendarUpdateCalShiftMaintService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
コード例 #5
0
        public ResultStatus ExecuteTransaction(
            MfgCalendarUpdateCalShiftMaint cdo,
            MfgCalendarUpdateCalShiftMaint_Request request,
            out MfgCalendarUpdateCalShiftMaint_Result result)
        {
            result = (MfgCalendarUpdateCalShiftMaint_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IMfgCalendarUpdateCalShiftMaintService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new MfgCalendarUpdateCalShiftMaintMethod(cdo, MfgCalendarUpdateCalShiftMaintMethods.ExecuteTransaction, (MfgCalendarUpdateCalShiftMaint_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);
        }
コード例 #6
0
        public ResultStatus Freeze(
            MfgCalendarUpdateCalShiftMaint mfgCalendarUpdateCalShiftMaint,
            MfgCalendarUpdateCalShiftMaint_Parameters parameters,
            MfgCalendarUpdateCalShiftMaint_Request request,
            out MfgCalendarUpdateCalShiftMaint_Result result)
        {
            result = (MfgCalendarUpdateCalShiftMaint_Result)null;
            this.OnBeforeCall(nameof(Freeze), (DCObject)mfgCalendarUpdateCalShiftMaint, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IMfgCalendarUpdateCalShiftMaintService)this._Channel).Freeze(this._UserProfile, mfgCalendarUpdateCalShiftMaint, parameters, request, out result) : this.AddMethod((Method) new MfgCalendarUpdateCalShiftMaintMethod(mfgCalendarUpdateCalShiftMaint, MfgCalendarUpdateCalShiftMaintMethods.Freeze, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(Freeze), res, (DCObject)mfgCalendarUpdateCalShiftMaint, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
コード例 #7
0
 public ResultStatus ExecuteTransaction(
     MfgCalendarUpdateCalShiftMaint_Request request,
     out MfgCalendarUpdateCalShiftMaint_Result result)
 {
     return(this.ExecuteTransaction((MfgCalendarUpdateCalShiftMaint)null, request, out result));
 }
コード例 #8
0
 public ResultStatus GetEnvironment(
     MfgCalendarUpdateCalShiftMaint_Request request,
     out MfgCalendarUpdateCalShiftMaint_Result result)
 {
     return(this.GetEnvironment((MfgCalendarUpdateCalShiftMaint)null, request, out result));
 }