Exemplo n.º 1
0
 public ResultStatus GetAuditTrailHeaders(
     ModelingAuditTrailInquiry modelingAuditTrailInquiry,
     ModelingAuditTrailInquiry_Request request,
     out ModelingAuditTrailInquiry_Result result)
 {
     return(this.GetAuditTrailHeaders(modelingAuditTrailInquiry, (ModelingAuditTrailInquiry_Parameters)null, request, out result));
 }
Exemplo n.º 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));
     }
 }
Exemplo n.º 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));
     }
 }
Exemplo n.º 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);
        }
Exemplo n.º 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);
        }
Exemplo n.º 6
0
 public ResultStatus ExecuteTransaction(
     ModelingAuditTrailInquiry_Request request,
     out ModelingAuditTrailInquiry_Result result)
 {
     return(this.ExecuteTransaction((ModelingAuditTrailInquiry)null, request, out result));
 }
Exemplo n.º 7
0
 public ResultStatus GetEnvironment(
     ModelingAuditTrailInquiry_Request request,
     out ModelingAuditTrailInquiry_Result result)
 {
     return(this.GetEnvironment((ModelingAuditTrailInquiry)null, request, out result));
 }