Пример #1
0
 public ResultStatus LoadESigDetails(
     ResourceMaintReqMaint resourceMaintReqMaint,
     ResourceMaintReqMaint_Request request,
     out ResourceMaintReqMaint_Result result)
 {
     return(this.LoadESigDetails(resourceMaintReqMaint, (ResourceMaintReqMaint_LoadESigDetails_Parameters)null, request, out result));
 }
Пример #2
0
 public ResultStatus Freeze(
     ResourceMaintReqMaint resourceMaintReqMaint,
     ResourceMaintReqMaint_Request request,
     out ResourceMaintReqMaint_Result result)
 {
     return(this.Freeze(resourceMaintReqMaint, (ResourceMaintReqMaint_Parameters)null, request, out result));
 }
Пример #3
0
 public ResultStatus GetWIPMsgs(
     ResourceMaintReqMaint resourceMaintReqMaint,
     ResourceMaintReqMaint_Request request,
     out ResourceMaintReqMaint_Result result)
 {
     return(this.GetWIPMsgs(resourceMaintReqMaint, (ResourceMaintReqMaint_Parameters)null, request, out result));
 }
Пример #4
0
 public ResultStatus GetEnvironment(
     ResourceMaintReqMaint cdo,
     ResourceMaintReqMaint_Request request,
     out ResourceMaintReqMaint_Result result)
 {
     result = (ResourceMaintReqMaint_Result)null;
     try
     {
         return(((IResourceMaintReqMaintService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Пример #5
0
 public ResultStatus CommitTransaction(
     ResourceMaintReqMaint_Request request,
     out ResourceMaintReqMaint_Result result)
 {
     result = (ResourceMaintReqMaint_Result)null;
     try
     {
         ResourceMaintReqMaintMethod[] methods = new ResourceMaintReqMaintMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IResourceMaintReqMaintService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Пример #6
0
        public ResultStatus ExecuteTransaction(
            ResourceMaintReqMaint cdo,
            ResourceMaintReqMaint_Request request,
            out ResourceMaintReqMaint_Result result)
        {
            result = (ResourceMaintReqMaint_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IResourceMaintReqMaintService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new ResourceMaintReqMaintMethod(cdo, ResourceMaintReqMaintMethods.ExecuteTransaction, (ResourceMaintReqMaint_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 UnFreeze(
            ResourceMaintReqMaint resourceMaintReqMaint,
            ResourceMaintReqMaint_Parameters parameters,
            ResourceMaintReqMaint_Request request,
            out ResourceMaintReqMaint_Result result)
        {
            result = (ResourceMaintReqMaint_Result)null;
            this.OnBeforeCall(nameof(UnFreeze), (DCObject)resourceMaintReqMaint, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IResourceMaintReqMaintService)this._Channel).UnFreeze(this._UserProfile, resourceMaintReqMaint, parameters, request, out result) : this.AddMethod((Method) new ResourceMaintReqMaintMethod(resourceMaintReqMaint, ResourceMaintReqMaintMethods.UnFreeze, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(UnFreeze), res, (DCObject)resourceMaintReqMaint, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Пример #8
0
 public ResultStatus ExecuteTransaction(
     ResourceMaintReqMaint_Request request,
     out ResourceMaintReqMaint_Result result)
 {
     return(this.ExecuteTransaction((ResourceMaintReqMaint)null, request, out result));
 }
Пример #9
0
 public ResultStatus GetEnvironment(
     ResourceMaintReqMaint_Request request,
     out ResourceMaintReqMaint_Result result)
 {
     return(this.GetEnvironment((ResourceMaintReqMaint)null, request, out result));
 }