Ejemplo n.º 1
0
 public ResultStatus GetWIPMsgs(
     Camstar.WCF.ObjectStack.GetToDoList getToDoList,
     GetToDoList_Request request,
     out GetToDoList_Result result)
 {
     return(this.GetWIPMsgs(getToDoList, (GetToDoList_Parameters)null, request, out result));
 }
Ejemplo n.º 2
0
 public ResultStatus GetEnvironment(
     Camstar.WCF.ObjectStack.GetToDoList cdo,
     GetToDoList_Request request,
     out GetToDoList_Result result)
 {
     result = (GetToDoList_Result)null;
     try
     {
         return(((IGetToDoListService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Ejemplo n.º 3
0
 public ResultStatus CommitTransaction(
     GetToDoList_Request request,
     out GetToDoList_Result result)
 {
     result = (GetToDoList_Result)null;
     try
     {
         GetToDoListMethod[] methods = new GetToDoListMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IGetToDoListService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Ejemplo n.º 4
0
        public ResultStatus ExecuteTransaction(
            Camstar.WCF.ObjectStack.GetToDoList cdo,
            GetToDoList_Request request,
            out GetToDoList_Result result)
        {
            result = (GetToDoList_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IGetToDoListService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new GetToDoListMethod(cdo, GetToDoListMethods.ExecuteTransaction, (GetToDoList_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);
        }
Ejemplo n.º 5
0
        public ResultStatus GetWIPMsgs(
            Camstar.WCF.ObjectStack.GetToDoList getToDoList,
            GetToDoList_Parameters parameters,
            GetToDoList_Request request,
            out GetToDoList_Result result)
        {
            result = (GetToDoList_Result)null;
            this.OnBeforeCall(nameof(GetWIPMsgs), (DCObject)getToDoList, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IGetToDoListService)this._Channel).GetWIPMsgs(this._UserProfile, getToDoList, parameters, request, out result) : this.AddMethod((Method) new GetToDoListMethod(getToDoList, GetToDoListMethods.GetWIPMsgs, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(GetWIPMsgs), res, (DCObject)getToDoList, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Ejemplo n.º 6
0
 public ResultStatus ExecuteTransaction(
     GetToDoList_Request request,
     out GetToDoList_Result result)
 {
     return(this.ExecuteTransaction((Camstar.WCF.ObjectStack.GetToDoList)null, request, out result));
 }
Ejemplo n.º 7
0
 public ResultStatus GetEnvironment(
     GetToDoList_Request request,
     out GetToDoList_Result result)
 {
     return(this.GetEnvironment((Camstar.WCF.ObjectStack.GetToDoList)null, request, out result));
 }