Esempio n. 1
0
 public ResultStatus LoadESigDetails(
     OccupationMaint occupationMaint,
     OccupationMaint_Request request,
     out OccupationMaint_Result result)
 {
     return(this.LoadESigDetails(occupationMaint, (OccupationMaint_LoadESigDetails_Parameters)null, request, out result));
 }
Esempio n. 2
0
 public ResultStatus Freeze(
     OccupationMaint occupationMaint,
     OccupationMaint_Request request,
     out OccupationMaint_Result result)
 {
     return(this.Freeze(occupationMaint, (OccupationMaint_Parameters)null, request, out result));
 }
Esempio n. 3
0
 public ResultStatus GetWIPMsgs(
     OccupationMaint occupationMaint,
     OccupationMaint_Request request,
     out OccupationMaint_Result result)
 {
     return(this.GetWIPMsgs(occupationMaint, (OccupationMaint_Parameters)null, request, out result));
 }
Esempio n. 4
0
 public ResultStatus GetEnvironment(
     OccupationMaint cdo,
     OccupationMaint_Request request,
     out OccupationMaint_Result result)
 {
     result = (OccupationMaint_Result)null;
     try
     {
         return(((IOccupationMaintService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Esempio n. 5
0
 public ResultStatus CommitTransaction(
     OccupationMaint_Request request,
     out OccupationMaint_Result result)
 {
     result = (OccupationMaint_Result)null;
     try
     {
         OccupationMaintMethod[] methods = new OccupationMaintMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IOccupationMaintService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Esempio n. 6
0
        public ResultStatus ExecuteTransaction(
            OccupationMaint cdo,
            OccupationMaint_Request request,
            out OccupationMaint_Result result)
        {
            result = (OccupationMaint_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IOccupationMaintService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new OccupationMaintMethod(cdo, OccupationMaintMethods.ExecuteTransaction, (OccupationMaint_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. 7
0
        public ResultStatus Freeze(
            OccupationMaint occupationMaint,
            OccupationMaint_Parameters parameters,
            OccupationMaint_Request request,
            out OccupationMaint_Result result)
        {
            result = (OccupationMaint_Result)null;
            this.OnBeforeCall(nameof(Freeze), (DCObject)occupationMaint, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IOccupationMaintService)this._Channel).Freeze(this._UserProfile, occupationMaint, parameters, request, out result) : this.AddMethod((Method) new OccupationMaintMethod(occupationMaint, OccupationMaintMethods.Freeze, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(Freeze), res, (DCObject)occupationMaint, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Esempio n. 8
0
 public ResultStatus ExecuteTransaction(
     OccupationMaint_Request request,
     out OccupationMaint_Result result)
 {
     return(this.ExecuteTransaction((OccupationMaint)null, request, out result));
 }
Esempio n. 9
0
 public ResultStatus GetEnvironment(
     OccupationMaint_Request request,
     out OccupationMaint_Result result)
 {
     return(this.GetEnvironment((OccupationMaint)null, request, out result));
 }