Пример #1
0
 public ResultStatus LoadESigDetails(
     EmployeeRoleMaint employeeRoleMaint,
     EmployeeRoleMaint_Request request,
     out EmployeeRoleMaint_Result result)
 {
     return(this.LoadESigDetails(employeeRoleMaint, (EmployeeRoleMaint_LoadESigDetails_Parameters)null, request, out result));
 }
Пример #2
0
 public ResultStatus Freeze(
     EmployeeRoleMaint employeeRoleMaint,
     EmployeeRoleMaint_Request request,
     out EmployeeRoleMaint_Result result)
 {
     return(this.Freeze(employeeRoleMaint, (EmployeeRoleMaint_Parameters)null, request, out result));
 }
Пример #3
0
 public ResultStatus GetWIPMsgs(
     EmployeeRoleMaint employeeRoleMaint,
     EmployeeRoleMaint_Request request,
     out EmployeeRoleMaint_Result result)
 {
     return(this.GetWIPMsgs(employeeRoleMaint, (EmployeeRoleMaint_Parameters)null, request, out result));
 }
Пример #4
0
 public ResultStatus GetEnvironment(
     EmployeeRoleMaint cdo,
     EmployeeRoleMaint_Request request,
     out EmployeeRoleMaint_Result result)
 {
     result = (EmployeeRoleMaint_Result)null;
     try
     {
         return(((IEmployeeRoleMaintService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Пример #5
0
 public ResultStatus CommitTransaction(
     EmployeeRoleMaint_Request request,
     out EmployeeRoleMaint_Result result)
 {
     result = (EmployeeRoleMaint_Result)null;
     try
     {
         EmployeeRoleMaintMethod[] methods = new EmployeeRoleMaintMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IEmployeeRoleMaintService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Пример #6
0
        public ResultStatus ExecuteTransaction(
            EmployeeRoleMaint cdo,
            EmployeeRoleMaint_Request request,
            out EmployeeRoleMaint_Result result)
        {
            result = (EmployeeRoleMaint_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IEmployeeRoleMaintService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new EmployeeRoleMaintMethod(cdo, EmployeeRoleMaintMethods.ExecuteTransaction, (EmployeeRoleMaint_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 Freeze(
            EmployeeRoleMaint employeeRoleMaint,
            EmployeeRoleMaint_Parameters parameters,
            EmployeeRoleMaint_Request request,
            out EmployeeRoleMaint_Result result)
        {
            result = (EmployeeRoleMaint_Result)null;
            this.OnBeforeCall(nameof(Freeze), (DCObject)employeeRoleMaint, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IEmployeeRoleMaintService)this._Channel).Freeze(this._UserProfile, employeeRoleMaint, parameters, request, out result) : this.AddMethod((Method) new EmployeeRoleMaintMethod(employeeRoleMaint, EmployeeRoleMaintMethods.Freeze, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(Freeze), res, (DCObject)employeeRoleMaint, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Пример #8
0
 public ResultStatus ExecuteTransaction(
     EmployeeRoleMaint_Request request,
     out EmployeeRoleMaint_Result result)
 {
     return(this.ExecuteTransaction((EmployeeRoleMaint)null, request, out result));
 }
Пример #9
0
 public ResultStatus GetEnvironment(
     EmployeeRoleMaint_Request request,
     out EmployeeRoleMaint_Result result)
 {
     return(this.GetEnvironment((EmployeeRoleMaint)null, request, out result));
 }