public static HR_SalaryAdjustmentGroup GetHR_SalaryAdjustmentBySalaryAdjustmentID(int SalaryAdjustmentID) { HR_SalaryAdjustmentGroup hR_SalaryAdjustment = new HR_SalaryAdjustmentGroup(); SqlHR_SalaryAdjustmentGroupProvider sqlHR_SalaryAdjustmentProvider = new SqlHR_SalaryAdjustmentGroupProvider(); hR_SalaryAdjustment = sqlHR_SalaryAdjustmentProvider.GetHR_SalaryAdjustmentGroupBySalaryAdjustmentGroupID(SalaryAdjustmentID); return hR_SalaryAdjustment; }
public static HR_SalaryAdjustmentGroup GetHR_EmployeeByEmployeeID(string EmployeeID) { HR_SalaryAdjustmentGroup hR_SalaryAdjustment = new HR_SalaryAdjustmentGroup(); SqlHR_SalaryAdjustmentGroupProvider sqlHR_SalaryAdjustmentProvider = new SqlHR_SalaryAdjustmentGroupProvider(); hR_SalaryAdjustment = sqlHR_SalaryAdjustmentProvider.GetHR_SalaryAdjustmentGroupByEmployeeID(EmployeeID); return hR_SalaryAdjustment; }
public static DataSet GetDropDownListAllHR_SalaryAdjustment() { DataSet hR_SalaryAdjustments = new DataSet(); SqlHR_SalaryAdjustmentGroupProvider sqlHR_SalaryAdjustmentProvider = new SqlHR_SalaryAdjustmentGroupProvider(); hR_SalaryAdjustments = sqlHR_SalaryAdjustmentProvider.GetDropDownLisAllHR_SalaryAdjustmentGroup(); return hR_SalaryAdjustments; }
public static bool UpdateHR_SalaryAdjustment(HR_SalaryAdjustmentGroup hR_SalaryAdjustment) { SqlHR_SalaryAdjustmentGroupProvider sqlHR_SalaryAdjustmentProvider = new SqlHR_SalaryAdjustmentGroupProvider(); return sqlHR_SalaryAdjustmentProvider.UpdateHR_SalaryAdjustmentGroup(hR_SalaryAdjustment); }
public static void LoadHR_SalaryAdjustmentPage(System.Web.UI.WebControls.GridView gv, System.Web.UI.WebControls.Repeater rptPager, int pageIndex, DropDownList ddlPageSize) { int recordCount=0; int PageSize = int.Parse(ddlPageSize.SelectedValue); SqlHR_SalaryAdjustmentGroupProvider sqlHR_SalaryAdjustmentProvider = new SqlHR_SalaryAdjustmentGroupProvider(); DataSet ds = sqlHR_SalaryAdjustmentProvider.GetHR_SalaryAdjustmentGroupPageWise(pageIndex, PageSize, out recordCount); gv.DataSource = ds; gv.DataBind(); hR_SalaryAdjustmentsPaggination(rptPager,recordCount, pageIndex, PageSize); }
public static int InsertHR_SalaryAdjustment(HR_SalaryAdjustmentGroup hR_SalaryAdjustment) { SqlHR_SalaryAdjustmentGroupProvider sqlHR_SalaryAdjustmentProvider = new SqlHR_SalaryAdjustmentGroupProvider(); return sqlHR_SalaryAdjustmentProvider.InsertHR_SalaryAdjustmentGroup(hR_SalaryAdjustment); }
public static bool DeleteHR_SalaryAdjustment(int hR_SalaryAdjustmentID) { SqlHR_SalaryAdjustmentGroupProvider sqlHR_SalaryAdjustmentProvider = new SqlHR_SalaryAdjustmentGroupProvider(); return sqlHR_SalaryAdjustmentProvider.DeleteHR_SalaryAdjustmentGroup(hR_SalaryAdjustmentID); }