Esempio n. 1
0
 public ResultStatus GetWIPMsgs(
     DictionaryService dictionaryService,
     DictionaryService_Request request,
     out DictionaryService_Result result)
 {
     return(this.GetWIPMsgs(dictionaryService, (DictionaryService_Parameters)null, request, out result));
 }
Esempio n. 2
0
 public ResultStatus GetEnvironment(
     DictionaryService cdo,
     DictionaryService_Request request,
     out DictionaryService_Result result)
 {
     result = (DictionaryService_Result)null;
     try
     {
         return(((IDictionaryServiceService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Esempio n. 3
0
 public ResultStatus CommitTransaction(
     DictionaryService_Request request,
     out DictionaryService_Result result)
 {
     result = (DictionaryService_Result)null;
     try
     {
         DictionaryServiceMethod[] methods = new DictionaryServiceMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IDictionaryServiceService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Esempio n. 4
0
        public ResultStatus ExecuteTransaction(
            DictionaryService cdo,
            DictionaryService_Request request,
            out DictionaryService_Result result)
        {
            result = (DictionaryService_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IDictionaryServiceService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new DictionaryServiceMethod(cdo, DictionaryServiceMethods.ExecuteTransaction, (DictionaryService_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);
        }
Esempio n. 5
0
        public ResultStatus GetWIPMsgs(
            DictionaryService dictionaryService,
            DictionaryService_Parameters parameters,
            DictionaryService_Request request,
            out DictionaryService_Result result)
        {
            result = (DictionaryService_Result)null;
            this.OnBeforeCall(nameof(GetWIPMsgs), (DCObject)dictionaryService, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IDictionaryServiceService)this._Channel).GetWIPMsgs(this._UserProfile, dictionaryService, parameters, request, out result) : this.AddMethod((Method) new DictionaryServiceMethod(dictionaryService, DictionaryServiceMethods.GetWIPMsgs, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(GetWIPMsgs), res, (DCObject)dictionaryService, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Esempio n. 6
0
 public ResultStatus ExecuteTransaction(
     DictionaryService_Request request,
     out DictionaryService_Result result)
 {
     return(this.ExecuteTransaction((DictionaryService)null, request, out result));
 }
Esempio n. 7
0
 public ResultStatus GetEnvironment(
     DictionaryService_Request request,
     out DictionaryService_Result result)
 {
     return(this.GetEnvironment((DictionaryService)null, request, out result));
 }