Example #1
0
 public ResultStatus GetWIPMsgs(
     ResourceAuditTrailInquiry resourceAuditTrailInquiry,
     ResourceAuditTrailInquiry_Request request,
     out ResourceAuditTrailInquiry_Result result)
 {
     return(this.GetWIPMsgs(resourceAuditTrailInquiry, (ResourceAuditTrailInquiry_Parameters)null, request, out result));
 }
Example #2
0
 public ResultStatus GetEnvironment(
     ResourceAuditTrailInquiry cdo,
     ResourceAuditTrailInquiry_Request request,
     out ResourceAuditTrailInquiry_Result result)
 {
     result = (ResourceAuditTrailInquiry_Result)null;
     try
     {
         return(((IResourceAuditTrailInquiryService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Example #3
0
 public ResultStatus CommitTransaction(
     ResourceAuditTrailInquiry_Request request,
     out ResourceAuditTrailInquiry_Result result)
 {
     result = (ResourceAuditTrailInquiry_Result)null;
     try
     {
         ResourceAuditTrailInquiryMethod[] methods = new ResourceAuditTrailInquiryMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IResourceAuditTrailInquiryService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Example #4
0
        public ResultStatus ExecuteTransaction(
            ResourceAuditTrailInquiry cdo,
            ResourceAuditTrailInquiry_Request request,
            out ResourceAuditTrailInquiry_Result result)
        {
            result = (ResourceAuditTrailInquiry_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IResourceAuditTrailInquiryService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new ResourceAuditTrailInquiryMethod(cdo, ResourceAuditTrailInquiryMethods.ExecuteTransaction, (ResourceAuditTrailInquiry_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);
        }
Example #5
0
        public ResultStatus GetWIPMsgs(
            ResourceAuditTrailInquiry resourceAuditTrailInquiry,
            ResourceAuditTrailInquiry_Parameters parameters,
            ResourceAuditTrailInquiry_Request request,
            out ResourceAuditTrailInquiry_Result result)
        {
            result = (ResourceAuditTrailInquiry_Result)null;
            this.OnBeforeCall(nameof(GetWIPMsgs), (DCObject)resourceAuditTrailInquiry, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IResourceAuditTrailInquiryService)this._Channel).GetWIPMsgs(this._UserProfile, resourceAuditTrailInquiry, parameters, request, out result) : this.AddMethod((Method) new ResourceAuditTrailInquiryMethod(resourceAuditTrailInquiry, ResourceAuditTrailInquiryMethods.GetWIPMsgs, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(GetWIPMsgs), res, (DCObject)resourceAuditTrailInquiry, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Example #6
0
 public ResultStatus ExecuteTransaction(
     ResourceAuditTrailInquiry_Request request,
     out ResourceAuditTrailInquiry_Result result)
 {
     return(this.ExecuteTransaction((ResourceAuditTrailInquiry)null, request, out result));
 }
Example #7
0
 public ResultStatus GetEnvironment(
     ResourceAuditTrailInquiry_Request request,
     out ResourceAuditTrailInquiry_Result result)
 {
     return(this.GetEnvironment((ResourceAuditTrailInquiry)null, request, out result));
 }