Exemple #1
0
 public ResultStatus GetAuditTrailHeaders(
     ModelingAuditTrailInquiry modelingAuditTrailInquiry,
     ModelingAuditTrailInquiry_Request request,
     out ModelingAuditTrailInquiry_Result result)
 {
     return(this.GetAuditTrailHeaders(modelingAuditTrailInquiry, (ModelingAuditTrailInquiry_Parameters)null, request, out result));
 }
Exemple #2
0
 public ResultStatus GetEnvironment(
     ModelingAuditTrailInquiry cdo,
     ModelingAuditTrailInquiry_Request request,
     out ModelingAuditTrailInquiry_Result result)
 {
     result = (ModelingAuditTrailInquiry_Result)null;
     try
     {
         return(((IModelingAuditTrailInquiryService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Exemple #3
0
 public ResultStatus CommitTransaction(
     ModelingAuditTrailInquiry_Request request,
     out ModelingAuditTrailInquiry_Result result)
 {
     result = (ModelingAuditTrailInquiry_Result)null;
     try
     {
         ModelingAuditTrailInquiryMethod[] methods = new ModelingAuditTrailInquiryMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IModelingAuditTrailInquiryService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Exemple #4
0
        public ResultStatus ExecuteTransaction(
            ModelingAuditTrailInquiry cdo,
            ModelingAuditTrailInquiry_Request request,
            out ModelingAuditTrailInquiry_Result result)
        {
            result = (ModelingAuditTrailInquiry_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IModelingAuditTrailInquiryService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new ModelingAuditTrailInquiryMethod(cdo, ModelingAuditTrailInquiryMethods.ExecuteTransaction, (ModelingAuditTrailInquiry_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);
        }
Exemple #5
0
        public ResultStatus GetAuditTrailHeaders(
            ModelingAuditTrailInquiry modelingAuditTrailInquiry,
            ModelingAuditTrailInquiry_Parameters parameters,
            ModelingAuditTrailInquiry_Request request,
            out ModelingAuditTrailInquiry_Result result)
        {
            result = (ModelingAuditTrailInquiry_Result)null;
            this.OnBeforeCall(nameof(GetAuditTrailHeaders), (DCObject)modelingAuditTrailInquiry, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IModelingAuditTrailInquiryService)this._Channel).GetAuditTrailHeaders(this._UserProfile, modelingAuditTrailInquiry, parameters, request, out result) : this.AddMethod((Method) new ModelingAuditTrailInquiryMethod(modelingAuditTrailInquiry, ModelingAuditTrailInquiryMethods.GetAuditTrailHeaders, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(GetAuditTrailHeaders), res, (DCObject)modelingAuditTrailInquiry, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Exemple #6
0
 public ResultStatus ExecuteTransaction(
     ModelingAuditTrailInquiry_Request request,
     out ModelingAuditTrailInquiry_Result result)
 {
     return(this.ExecuteTransaction((ModelingAuditTrailInquiry)null, request, out result));
 }
Exemple #7
0
 public ResultStatus GetEnvironment(
     ModelingAuditTrailInquiry_Request request,
     out ModelingAuditTrailInquiry_Result result)
 {
     return(this.GetEnvironment((ModelingAuditTrailInquiry)null, request, out result));
 }