コード例 #1
0
 public ResultStatus Freeze(
     EmployeeRoleMaint employeeRoleMaint,
     EmployeeRoleMaint_Request request,
     out EmployeeRoleMaint_Result result)
 {
     return(this.Freeze(employeeRoleMaint, (EmployeeRoleMaint_Parameters)null, request, out result));
 }
コード例 #2
0
 public ResultStatus LoadESigDetails(
     EmployeeRoleMaint employeeRoleMaint,
     EmployeeRoleMaint_Request request,
     out EmployeeRoleMaint_Result result)
 {
     return(this.LoadESigDetails(employeeRoleMaint, (EmployeeRoleMaint_LoadESigDetails_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 EmployeeRoleMaintMethod(
     EmployeeRoleMaint Cdo,
     EmployeeRoleMaintMethods Method,
     EmployeeRoleMaint_Parameters Parameters)
 {
     this.Cdo           = Cdo;
     this.ServiceMethod = Method;
     this.Parameters    = Parameters;
 }
コード例 #5
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));
     }
 }
コード例 #6
0
        public ResultStatus AddDataTransaction(EmployeeRoleMaint cdo)
        {
            this.OnBeforeCall(nameof(AddDataTransaction), (DCObject)cdo, (Parameters)null, (Request)null);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? this.GetAddDataTransactionException() : this.AddMethod((Method) new EmployeeRoleMaintMethod(cdo, EmployeeRoleMaintMethods.AddDataTransaction, (EmployeeRoleMaint_Parameters)null));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                Result result;
                this.OnAfterCall(nameof(AddDataTransaction), res, (DCObject)cdo, (Parameters)null, (Request)null, result);
            }
            return(res);
        }
コード例 #7
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);
        }
コード例 #8
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);
        }
コード例 #9
0
 public ResultStatus ExecuteTransaction(EmployeeRoleMaint cdo)
 {
     return(this.ExecuteTransaction(cdo, (EmployeeRoleMaint_Request)null, out EmployeeRoleMaint_Result _));
 }
コード例 #10
0
 public ResultStatus Delete(EmployeeRoleMaint employeeRoleMaint)
 {
     return(this.Delete(employeeRoleMaint, (EmployeeRoleMaint_Parameters)null, (EmployeeRoleMaint_Request)null, out EmployeeRoleMaint_Result _));
 }