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 WhereUsedInquiryMethod(
     WhereUsedInquiry Cdo,
     WhereUsedInquiryMethods Method,
     WhereUsedInquiry_Parameters Parameters)
 {
     this.Cdo           = Cdo;
     this.ServiceMethod = Method;
     this.Parameters    = Parameters;
 }
Beispiel #3
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 #4
0
        public ResultStatus AddDataTransaction(WhereUsedInquiry cdo)
        {
            this.OnBeforeCall(nameof(AddDataTransaction), (DCObject)cdo, (Parameters)null, (Request)null);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? this.GetAddDataTransactionException() : this.AddMethod((Method) new WhereUsedInquiryMethod(cdo, WhereUsedInquiryMethods.AddDataTransaction, (WhereUsedInquiry_Parameters)null));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                Result result;
                this.OnAfterCall(nameof(AddDataTransaction), res, (DCObject)cdo, (Parameters)null, (Request)null, result);
            }
            return(res);
        }
Beispiel #5
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 #6
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 #7
0
 public ResultStatus GetConfig(WhereUsedInquiry whereUsedInquiry)
 {
     return(this.GetConfig(whereUsedInquiry, (WhereUsedInquiry_GetConfig_Parameters)null, (WhereUsedInquiry_Request)null, out WhereUsedInquiry_Result _));
 }
Beispiel #8
0
 public ResultStatus ExecuteTransaction(WhereUsedInquiry cdo)
 {
     return(this.ExecuteTransaction(cdo, (WhereUsedInquiry_Request)null, out WhereUsedInquiry_Result _));
 }
Beispiel #9
0
 public ResultStatus GetWIPMsgs(WhereUsedInquiry whereUsedInquiry)
 {
     return(this.GetWIPMsgs(whereUsedInquiry, (WhereUsedInquiry_Parameters)null, (WhereUsedInquiry_Request)null, out WhereUsedInquiry_Result _));
 }