示例#1
0
 public ResultStatus Freeze(
     ComponentDefectReasonMaint componentDefectReasonMaint,
     ComponentDefectReasonMaint_Request request,
     out ComponentDefectReasonMaint_Result result)
 {
     return(this.Freeze(componentDefectReasonMaint, (ComponentDefectReasonMaint_Parameters)null, request, out result));
 }
示例#2
0
 public ResultStatus LoadESigDetails(
     ComponentDefectReasonMaint componentDefectReasonMaint,
     ComponentDefectReasonMaint_Request request,
     out ComponentDefectReasonMaint_Result result)
 {
     return(this.LoadESigDetails(componentDefectReasonMaint, (ComponentDefectReasonMaint_LoadESigDetails_Parameters)null, request, out result));
 }
示例#3
0
 public ResultStatus GetEnvironment(
     ComponentDefectReasonMaint cdo,
     ComponentDefectReasonMaint_Request request,
     out ComponentDefectReasonMaint_Result result)
 {
     result = (ComponentDefectReasonMaint_Result)null;
     try
     {
         return(((IComponentDefectReasonMaintService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
示例#4
0
 public ResultStatus CommitTransaction(
     ComponentDefectReasonMaint_Request request,
     out ComponentDefectReasonMaint_Result result)
 {
     result = (ComponentDefectReasonMaint_Result)null;
     try
     {
         ComponentDefectReasonMaintMethod[] methods = new ComponentDefectReasonMaintMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IComponentDefectReasonMaintService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
示例#5
0
        public ResultStatus ExecuteTransaction(
            ComponentDefectReasonMaint cdo,
            ComponentDefectReasonMaint_Request request,
            out ComponentDefectReasonMaint_Result result)
        {
            result = (ComponentDefectReasonMaint_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IComponentDefectReasonMaintService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new ComponentDefectReasonMaintMethod(cdo, ComponentDefectReasonMaintMethods.ExecuteTransaction, (ComponentDefectReasonMaint_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 LoadESigDetails(
            ComponentDefectReasonMaint componentDefectReasonMaint,
            ComponentDefectReasonMaint_LoadESigDetails_Parameters parameters,
            ComponentDefectReasonMaint_Request request,
            out ComponentDefectReasonMaint_Result result)
        {
            result = (ComponentDefectReasonMaint_Result)null;
            this.OnBeforeCall(nameof(LoadESigDetails), (DCObject)componentDefectReasonMaint, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IComponentDefectReasonMaintService)this._Channel).LoadESigDetails(this._UserProfile, componentDefectReasonMaint, parameters, request, out result) : this.AddMethod((Method) new ComponentDefectReasonMaintMethod(componentDefectReasonMaint, ComponentDefectReasonMaintMethods.LoadESigDetails, (ComponentDefectReasonMaint_Parameters)parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(LoadESigDetails), res, (DCObject)componentDefectReasonMaint, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
示例#7
0
 public ResultStatus ExecuteTransaction(
     ComponentDefectReasonMaint_Request request,
     out ComponentDefectReasonMaint_Result result)
 {
     return(this.ExecuteTransaction((ComponentDefectReasonMaint)null, request, out result));
 }
示例#8
0
 public ResultStatus GetEnvironment(
     ComponentDefectReasonMaint_Request request,
     out ComponentDefectReasonMaint_Result result)
 {
     return(this.GetEnvironment((ComponentDefectReasonMaint)null, request, out result));
 }