Beispiel #1
0
 public ResultStatus GetResult_NDO(
     WhereUsedInquiry whereUsedInquiry,
     WhereUsedInquiry_Request request,
     out WhereUsedInquiry_Result result)
 {
     return(this.GetResult_NDO(whereUsedInquiry, (WhereUsedInquiry_Parameters)null, request, out result));
 }
Beispiel #2
0
 public ResultStatus GetEnvironment(
     WhereUsedInquiry cdo,
     WhereUsedInquiry_Request request,
     out WhereUsedInquiry_Result result)
 {
     result = (WhereUsedInquiry_Result)null;
     try
     {
         return(((IWhereUsedInquiryService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Beispiel #3
0
 public ResultStatus CommitTransaction(
     WhereUsedInquiry_Request request,
     out WhereUsedInquiry_Result result)
 {
     result = (WhereUsedInquiry_Result)null;
     try
     {
         WhereUsedInquiryMethod[] methods = new WhereUsedInquiryMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IWhereUsedInquiryService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Beispiel #4
0
        public ResultStatus ExecuteTransaction(
            WhereUsedInquiry cdo,
            WhereUsedInquiry_Request request,
            out WhereUsedInquiry_Result result)
        {
            result = (WhereUsedInquiry_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IWhereUsedInquiryService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new WhereUsedInquiryMethod(cdo, WhereUsedInquiryMethods.ExecuteTransaction, (WhereUsedInquiry_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);
        }
Beispiel #5
0
        public ResultStatus GetResult_NDO(
            WhereUsedInquiry whereUsedInquiry,
            WhereUsedInquiry_Parameters parameters,
            WhereUsedInquiry_Request request,
            out WhereUsedInquiry_Result result)
        {
            result = (WhereUsedInquiry_Result)null;
            this.OnBeforeCall(nameof(GetResult_NDO), (DCObject)whereUsedInquiry, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IWhereUsedInquiryService)this._Channel).GetResult_NDO(this._UserProfile, whereUsedInquiry, parameters, request, out result) : this.AddMethod((Method) new WhereUsedInquiryMethod(whereUsedInquiry, WhereUsedInquiryMethods.GetResult_NDO, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(GetResult_NDO), res, (DCObject)whereUsedInquiry, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Beispiel #6
0
 public ResultStatus ExecuteTransaction(
     WhereUsedInquiry_Request request,
     out WhereUsedInquiry_Result result)
 {
     return(this.ExecuteTransaction((WhereUsedInquiry)null, request, out result));
 }
Beispiel #7
0
 public ResultStatus GetEnvironment(
     WhereUsedInquiry_Request request,
     out WhereUsedInquiry_Result result)
 {
     return(this.GetEnvironment((WhereUsedInquiry)null, request, out result));
 }