Пример #1
0
 public static HR_SalaryAdjustmentList GetSalaryAdjustmentListBySalaryAdjustmentListID(int SalaryAdjustmentListID)
 {
     HR_SalaryAdjustmentList salaryAdjustmentList = new HR_SalaryAdjustmentList();
     SqlHR_SalaryAdjustmentListProvider sqlSalaryAdjustmentListProvider = new SqlHR_SalaryAdjustmentListProvider();
     salaryAdjustmentList = sqlSalaryAdjustmentListProvider.GetSalaryAdjustmentListBySalaryAdjustmentListID(SalaryAdjustmentListID);
     return salaryAdjustmentList;
 }
Пример #2
0
 public static DataSet GetSalaryAdjustmentListBySalaryAdjustmenGroupID(int salaryAdjustmenGroupID)
 {
     DataSet salaryAdjustmentLists = new DataSet();
     SqlHR_SalaryAdjustmentListProvider sqlSalaryAdjustmentListProvider = new SqlHR_SalaryAdjustmentListProvider();
     salaryAdjustmentLists = sqlSalaryAdjustmentListProvider.GetSalaryAdjustmentListBySalaryAdjustmentGroupID(salaryAdjustmenGroupID);
     return salaryAdjustmentLists;
 }
Пример #3
0
 public static DataSet GetDropDownListAllSalaryAdjustmentList()
 {
     DataSet salaryAdjustmentLists = new DataSet();
     SqlHR_SalaryAdjustmentListProvider sqlSalaryAdjustmentListProvider = new SqlHR_SalaryAdjustmentListProvider();
     salaryAdjustmentLists = sqlSalaryAdjustmentListProvider.GetDropDownLisAllSalaryAdjustmentList();
     return salaryAdjustmentLists;
 }
Пример #4
0
 public static void LoadSalaryAdjustmentListPage(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_SalaryAdjustmentListProvider sqlSalaryAdjustmentListProvider = new SqlHR_SalaryAdjustmentListProvider();
     DataSet ds = sqlSalaryAdjustmentListProvider.GetSalaryAdjustmentListPageWise(pageIndex, PageSize, out recordCount);
     gv.DataSource = ds;
     gv.DataBind();
     salaryAdjustmentListsPaggination(rptPager, recordCount, pageIndex, PageSize);
 }
Пример #5
0
 public static bool UpdateSalaryAdjustmentList(HR_SalaryAdjustmentList salaryAdjustmentList)
 {
     SqlHR_SalaryAdjustmentListProvider sqlSalaryAdjustmentListProvider = new SqlHR_SalaryAdjustmentListProvider();
     return sqlSalaryAdjustmentListProvider.UpdateSalaryAdjustmentList(salaryAdjustmentList);
 }
Пример #6
0
 public static int InsertSalaryAdjustmentList(HR_SalaryAdjustmentList salaryAdjustmentList)
 {
     SqlHR_SalaryAdjustmentListProvider sqlSalaryAdjustmentListProvider = new SqlHR_SalaryAdjustmentListProvider();
     return sqlSalaryAdjustmentListProvider.InsertSalaryAdjustmentList(salaryAdjustmentList);
 }
Пример #7
0
 public static bool DeleteSalaryAdjustmentList(int salaryAdjustmentListID)
 {
     SqlHR_SalaryAdjustmentListProvider sqlSalaryAdjustmentListProvider = new SqlHR_SalaryAdjustmentListProvider();
     return sqlSalaryAdjustmentListProvider.DeleteSalaryAdjustmentList(salaryAdjustmentListID);
 }