コード例 #1
0
 public ResultStatus GetWIPMsgs(
     AuditTrailInquiry auditTrailInquiry,
     AuditTrailInquiry_Request request,
     out AuditTrailInquiry_Result result)
 {
     return(this.GetWIPMsgs(auditTrailInquiry, (AuditTrailInquiry_Parameters)null, request, out result));
 }
コード例 #2
0
 public ResultStatus GetEnvironment(
     AuditTrailInquiry cdo,
     AuditTrailInquiry_Request request,
     out AuditTrailInquiry_Result result)
 {
     result = (AuditTrailInquiry_Result)null;
     try
     {
         return(((IAuditTrailInquiryService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
コード例 #3
0
 public ResultStatus CommitTransaction(
     AuditTrailInquiry_Request request,
     out AuditTrailInquiry_Result result)
 {
     result = (AuditTrailInquiry_Result)null;
     try
     {
         AuditTrailInquiryMethod[] methods = new AuditTrailInquiryMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IAuditTrailInquiryService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
コード例 #4
0
        public ResultStatus ExecuteTransaction(
            AuditTrailInquiry cdo,
            AuditTrailInquiry_Request request,
            out AuditTrailInquiry_Result result)
        {
            result = (AuditTrailInquiry_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IAuditTrailInquiryService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new AuditTrailInquiryMethod(cdo, AuditTrailInquiryMethods.ExecuteTransaction, (AuditTrailInquiry_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);
        }
コード例 #5
0
        public ResultStatus GetWIPMsgs(
            AuditTrailInquiry auditTrailInquiry,
            AuditTrailInquiry_Parameters parameters,
            AuditTrailInquiry_Request request,
            out AuditTrailInquiry_Result result)
        {
            result = (AuditTrailInquiry_Result)null;
            this.OnBeforeCall(nameof(GetWIPMsgs), (DCObject)auditTrailInquiry, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IAuditTrailInquiryService)this._Channel).GetWIPMsgs(this._UserProfile, auditTrailInquiry, parameters, request, out result) : this.AddMethod((Method) new AuditTrailInquiryMethod(auditTrailInquiry, AuditTrailInquiryMethods.GetWIPMsgs, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(GetWIPMsgs), res, (DCObject)auditTrailInquiry, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
コード例 #6
0
 public ResultStatus ExecuteTransaction(
     AuditTrailInquiry_Request request,
     out AuditTrailInquiry_Result result)
 {
     return(this.ExecuteTransaction((AuditTrailInquiry)null, request, out result));
 }
コード例 #7
0
 public ResultStatus GetEnvironment(
     AuditTrailInquiry_Request request,
     out AuditTrailInquiry_Result result)
 {
     return(this.GetEnvironment((AuditTrailInquiry)null, request, out result));
 }