示例#1
0
 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;
 }
示例#2
0
 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;
 }
示例#3
0
 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;
 }
示例#4
0
 public static bool UpdateHR_SalaryAdjustment(HR_SalaryAdjustmentGroup hR_SalaryAdjustment)
 {
     SqlHR_SalaryAdjustmentGroupProvider sqlHR_SalaryAdjustmentProvider = new SqlHR_SalaryAdjustmentGroupProvider();
     return sqlHR_SalaryAdjustmentProvider.UpdateHR_SalaryAdjustmentGroup(hR_SalaryAdjustment);
 }
示例#5
0
 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);
 }
示例#6
0
 public static int InsertHR_SalaryAdjustment(HR_SalaryAdjustmentGroup hR_SalaryAdjustment)
 {
     SqlHR_SalaryAdjustmentGroupProvider sqlHR_SalaryAdjustmentProvider = new SqlHR_SalaryAdjustmentGroupProvider();
     return sqlHR_SalaryAdjustmentProvider.InsertHR_SalaryAdjustmentGroup(hR_SalaryAdjustment);
 }
示例#7
0
 public static bool DeleteHR_SalaryAdjustment(int hR_SalaryAdjustmentID)
 {
     SqlHR_SalaryAdjustmentGroupProvider sqlHR_SalaryAdjustmentProvider = new SqlHR_SalaryAdjustmentGroupProvider();
     return sqlHR_SalaryAdjustmentProvider.DeleteHR_SalaryAdjustmentGroup(hR_SalaryAdjustmentID);
 }