Пример #1
0
 public ResultStatus WriteTxnGUID(
     Update update,
     Update_Request request,
     out Update_Result result)
 {
     return(this.WriteTxnGUID(update, (Update_Parameters)null, request, out result));
 }
Пример #2
0
 public ResultStatus Load(
     Update update,
     Update_Request request,
     out Update_Result result)
 {
     return(this.Load(update, (Update_Parameters)null, request, out result));
 }
Пример #3
0
 public ResultStatus GetWIPMsgs(
     Update update,
     Update_Request request,
     out Update_Result result)
 {
     return(this.GetWIPMsgs(update, (Update_Parameters)null, request, out result));
 }
Пример #4
0
 public ResultStatus GetEnvironment(
     Update cdo,
     Update_Request request,
     out Update_Result result)
 {
     result = (Update_Result)null;
     try
     {
         return(((IUpdateService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Пример #5
0
 public ResultStatus CommitTransaction(
     Update_Request request,
     out Update_Result result)
 {
     result = (Update_Result)null;
     try
     {
         UpdateMethod[] methods = new UpdateMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IUpdateService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Пример #6
0
        public ResultStatus ExecuteTransaction(
            Update cdo,
            Update_Request request,
            out Update_Result result)
        {
            result = (Update_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IUpdateService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new UpdateMethod(cdo, UpdateMethods.ExecuteTransaction, (Update_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);
        }
Пример #7
0
        public ResultStatus Load(
            Update update,
            Update_Parameters parameters,
            Update_Request request,
            out Update_Result result)
        {
            result = (Update_Result)null;
            this.OnBeforeCall(nameof(Load), (DCObject)update, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IUpdateService)this._Channel).Load(this._UserProfile, update, parameters, request, out result) : this.AddMethod((Method) new UpdateMethod(update, UpdateMethods.Load, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(Load), res, (DCObject)update, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Пример #8
0
 public ResultStatus ExecuteTransaction(
     Update_Request request,
     out Update_Result result)
 {
     return(this.ExecuteTransaction((Update)null, request, out result));
 }
Пример #9
0
 public ResultStatus GetEnvironment(Update_Request request, out Update_Result result)
 {
     return(this.GetEnvironment((Update)null, request, out result));
 }