示例#1
0
 public UpdateEventCrossRefsMethod(
     UpdateEventCrossRefs Cdo,
     UpdateEventCrossRefsMethods Method,
     UpdateEventCrossRefs_Parameters Parameters)
 {
     this.Cdo           = Cdo;
     this.ServiceMethod = Method;
     this.Parameters    = Parameters;
 }
示例#2
0
        public ResultStatus GetActions(
            UpdateEventCrossRefs updateEventCrossRefs,
            UpdateEventCrossRefs_Parameters parameters,
            UpdateEventCrossRefs_Request request,
            out UpdateEventCrossRefs_Result result)
        {
            result = (UpdateEventCrossRefs_Result)null;
            this.OnBeforeCall(nameof(GetActions), (DCObject)updateEventCrossRefs, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IUpdateEventCrossRefsService)this._Channel).GetActions(this._UserProfile, updateEventCrossRefs, parameters, request, out result) : this.AddMethod((Method) new UpdateEventCrossRefsMethod(updateEventCrossRefs, UpdateEventCrossRefsMethods.GetActions, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(GetActions), res, (DCObject)updateEventCrossRefs, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }