コード例 #1
0
 public ResultStatus LoadESigDetails(
     MfgOrderMaint mfgOrderMaint,
     MfgOrderMaint_Request request,
     out MfgOrderMaint_Result result)
 {
     return(this.LoadESigDetails(mfgOrderMaint, (MfgOrderMaint_LoadESigDetails_Parameters)null, request, out result));
 }
コード例 #2
0
 public ResultStatus Freeze(
     MfgOrderMaint mfgOrderMaint,
     MfgOrderMaint_Request request,
     out MfgOrderMaint_Result result)
 {
     return(this.Freeze(mfgOrderMaint, (MfgOrderMaint_Parameters)null, request, out result));
 }
コード例 #3
0
 public ResultStatus GetWIPMsgs(
     MfgOrderMaint mfgOrderMaint,
     MfgOrderMaint_Request request,
     out MfgOrderMaint_Result result)
 {
     return(this.GetWIPMsgs(mfgOrderMaint, (MfgOrderMaint_Parameters)null, request, out result));
 }
コード例 #4
0
 public ResultStatus GetEnvironment(
     MfgOrderMaint cdo,
     MfgOrderMaint_Request request,
     out MfgOrderMaint_Result result)
 {
     result = (MfgOrderMaint_Result)null;
     try
     {
         return(((IMfgOrderMaintService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
コード例 #5
0
 public ResultStatus CommitTransaction(
     MfgOrderMaint_Request request,
     out MfgOrderMaint_Result result)
 {
     result = (MfgOrderMaint_Result)null;
     try
     {
         MfgOrderMaintMethod[] methods = new MfgOrderMaintMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IMfgOrderMaintService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
コード例 #6
0
        public ResultStatus ExecuteTransaction(
            MfgOrderMaint cdo,
            MfgOrderMaint_Request request,
            out MfgOrderMaint_Result result)
        {
            result = (MfgOrderMaint_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IMfgOrderMaintService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new MfgOrderMaintMethod(cdo, MfgOrderMaintMethods.ExecuteTransaction, (MfgOrderMaint_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(
            MfgOrderMaint mfgOrderMaint,
            MfgOrderMaint_Parameters parameters,
            MfgOrderMaint_Request request,
            out MfgOrderMaint_Result result)
        {
            result = (MfgOrderMaint_Result)null;
            this.OnBeforeCall(nameof(Freeze), (DCObject)mfgOrderMaint, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IMfgOrderMaintService)this._Channel).Freeze(this._UserProfile, mfgOrderMaint, parameters, request, out result) : this.AddMethod((Method) new MfgOrderMaintMethod(mfgOrderMaint, MfgOrderMaintMethods.Freeze, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(Freeze), res, (DCObject)mfgOrderMaint, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
コード例 #8
0
 public ResultStatus ExecuteTransaction(
     MfgOrderMaint_Request request,
     out MfgOrderMaint_Result result)
 {
     return(this.ExecuteTransaction((MfgOrderMaint)null, request, out result));
 }
コード例 #9
0
 public ResultStatus GetEnvironment(
     MfgOrderMaint_Request request,
     out MfgOrderMaint_Result result)
 {
     return(this.GetEnvironment((MfgOrderMaint)null, request, out result));
 }