示例#1
0
 public ResultStatus Freeze(
     ResourceStatusReasonMaint resourceStatusReasonMaint,
     ResourceStatusReasonMaint_Request request,
     out ResourceStatusReasonMaint_Result result)
 {
     return(this.Freeze(resourceStatusReasonMaint, (ResourceStatusReasonMaint_Parameters)null, request, out result));
 }
示例#2
0
 public ResultStatus LoadESigDetails(
     ResourceStatusReasonMaint resourceStatusReasonMaint,
     ResourceStatusReasonMaint_Request request,
     out ResourceStatusReasonMaint_Result result)
 {
     return(this.LoadESigDetails(resourceStatusReasonMaint, (ResourceStatusReasonMaint_LoadESigDetails_Parameters)null, request, out result));
 }
示例#3
0
 public ResultStatus GetWIPMsgs(
     ResourceStatusReasonMaint resourceStatusReasonMaint,
     ResourceStatusReasonMaint_Request request,
     out ResourceStatusReasonMaint_Result result)
 {
     return(this.GetWIPMsgs(resourceStatusReasonMaint, (ResourceStatusReasonMaint_Parameters)null, request, out result));
 }
示例#4
0
 public ResourceStatusReasonMaintMethod(
     ResourceStatusReasonMaint Cdo,
     ResourceStatusReasonMaintMethods Method,
     ResourceStatusReasonMaint_Parameters Parameters)
 {
     this.Cdo           = Cdo;
     this.ServiceMethod = Method;
     this.Parameters    = Parameters;
 }
示例#5
0
 public ResultStatus GetEnvironment(
     ResourceStatusReasonMaint cdo,
     ResourceStatusReasonMaint_Request request,
     out ResourceStatusReasonMaint_Result result)
 {
     result = (ResourceStatusReasonMaint_Result)null;
     try
     {
         return(((IResourceStatusReasonMaintService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
示例#6
0
        public ResultStatus AddDataTransaction(ResourceStatusReasonMaint cdo)
        {
            this.OnBeforeCall(nameof(AddDataTransaction), (DCObject)cdo, (Parameters)null, (Request)null);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? this.GetAddDataTransactionException() : this.AddMethod((Method) new ResourceStatusReasonMaintMethod(cdo, ResourceStatusReasonMaintMethods.AddDataTransaction, (ResourceStatusReasonMaint_Parameters)null));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                Result result;
                this.OnAfterCall(nameof(AddDataTransaction), res, (DCObject)cdo, (Parameters)null, (Request)null, result);
            }
            return(res);
        }
示例#7
0
        public ResultStatus ExecuteTransaction(
            ResourceStatusReasonMaint cdo,
            ResourceStatusReasonMaint_Request request,
            out ResourceStatusReasonMaint_Result result)
        {
            result = (ResourceStatusReasonMaint_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IResourceStatusReasonMaintService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new ResourceStatusReasonMaintMethod(cdo, ResourceStatusReasonMaintMethods.ExecuteTransaction, (ResourceStatusReasonMaint_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);
        }
示例#8
0
        public ResultStatus UnFreeze(
            ResourceStatusReasonMaint resourceStatusReasonMaint,
            ResourceStatusReasonMaint_Parameters parameters,
            ResourceStatusReasonMaint_Request request,
            out ResourceStatusReasonMaint_Result result)
        {
            result = (ResourceStatusReasonMaint_Result)null;
            this.OnBeforeCall(nameof(UnFreeze), (DCObject)resourceStatusReasonMaint, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IResourceStatusReasonMaintService)this._Channel).UnFreeze(this._UserProfile, resourceStatusReasonMaint, parameters, request, out result) : this.AddMethod((Method) new ResourceStatusReasonMaintMethod(resourceStatusReasonMaint, ResourceStatusReasonMaintMethods.UnFreeze, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(UnFreeze), res, (DCObject)resourceStatusReasonMaint, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
示例#9
0
 public ResultStatus ExecuteTransaction(ResourceStatusReasonMaint cdo)
 {
     return(this.ExecuteTransaction(cdo, (ResourceStatusReasonMaint_Request)null, out ResourceStatusReasonMaint_Result _));
 }
示例#10
0
 public ResultStatus Delete(
     ResourceStatusReasonMaint resourceStatusReasonMaint)
 {
     return(this.Delete(resourceStatusReasonMaint, (ResourceStatusReasonMaint_Parameters)null, (ResourceStatusReasonMaint_Request)null, out ResourceStatusReasonMaint_Result _));
 }