Пример #1
0
 public ResultStatus New(
     ContDefectReasonGroupMaint contDefectReasonGroupMaint,
     ContDefectReasonGroupMaint_Request request,
     out ContDefectReasonGroupMaint_Result result)
 {
     return(this.New(contDefectReasonGroupMaint, (ContDefectReasonGroupMaint_Parameters)null, request, out result));
 }
Пример #2
0
 public ResultStatus LoadESigDetails(
     ContDefectReasonGroupMaint contDefectReasonGroupMaint,
     ContDefectReasonGroupMaint_Request request,
     out ContDefectReasonGroupMaint_Result result)
 {
     return(this.LoadESigDetails(contDefectReasonGroupMaint, (ContDefectReasonGroupMaint_LoadESigDetails_Parameters)null, request, out result));
 }
Пример #3
0
 public ResultStatus GetEnvironment(
     ContDefectReasonGroupMaint cdo,
     ContDefectReasonGroupMaint_Request request,
     out ContDefectReasonGroupMaint_Result result)
 {
     result = (ContDefectReasonGroupMaint_Result)null;
     try
     {
         return(((IContDefectReasonGroupMaintService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Пример #4
0
 public ResultStatus CommitTransaction(
     ContDefectReasonGroupMaint_Request request,
     out ContDefectReasonGroupMaint_Result result)
 {
     result = (ContDefectReasonGroupMaint_Result)null;
     try
     {
         ContDefectReasonGroupMaintMethod[] methods = new ContDefectReasonGroupMaintMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IContDefectReasonGroupMaintService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Пример #5
0
        public ResultStatus ExecuteTransaction(
            ContDefectReasonGroupMaint cdo,
            ContDefectReasonGroupMaint_Request request,
            out ContDefectReasonGroupMaint_Result result)
        {
            result = (ContDefectReasonGroupMaint_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IContDefectReasonGroupMaintService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new ContDefectReasonGroupMaintMethod(cdo, ContDefectReasonGroupMaintMethods.ExecuteTransaction, (ContDefectReasonGroupMaint_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(
            ContDefectReasonGroupMaint contDefectReasonGroupMaint,
            ContDefectReasonGroupMaint_LoadESigDetails_Parameters parameters,
            ContDefectReasonGroupMaint_Request request,
            out ContDefectReasonGroupMaint_Result result)
        {
            result = (ContDefectReasonGroupMaint_Result)null;
            this.OnBeforeCall(nameof(LoadESigDetails), (DCObject)contDefectReasonGroupMaint, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IContDefectReasonGroupMaintService)this._Channel).LoadESigDetails(this._UserProfile, contDefectReasonGroupMaint, parameters, request, out result) : this.AddMethod((Method) new ContDefectReasonGroupMaintMethod(contDefectReasonGroupMaint, ContDefectReasonGroupMaintMethods.LoadESigDetails, (ContDefectReasonGroupMaint_Parameters)parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(LoadESigDetails), res, (DCObject)contDefectReasonGroupMaint, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Пример #7
0
 public ResultStatus ExecuteTransaction(
     ContDefectReasonGroupMaint_Request request,
     out ContDefectReasonGroupMaint_Result result)
 {
     return(this.ExecuteTransaction((ContDefectReasonGroupMaint)null, request, out result));
 }
Пример #8
0
 public ResultStatus GetEnvironment(
     ContDefectReasonGroupMaint_Request request,
     out ContDefectReasonGroupMaint_Result result)
 {
     return(this.GetEnvironment((ContDefectReasonGroupMaint)null, request, out result));
 }