public static HR_BenifitPackage GetHR_BenifitPackageByBenifitPackageID(int BenifitPackageID) { HR_BenifitPackage hR_BenifitPackage = new HR_BenifitPackage(); SqlHR_BenifitPackageProvider sqlHR_BenifitPackageProvider = new SqlHR_BenifitPackageProvider(); hR_BenifitPackage = sqlHR_BenifitPackageProvider.GetHR_BenifitPackageByBenifitPackageID(BenifitPackageID); return hR_BenifitPackage; }
public static DataSet GetDropDownListAllHR_BenifitPackage() { DataSet hR_BenifitPackages = new DataSet(); SqlHR_BenifitPackageProvider sqlHR_BenifitPackageProvider = new SqlHR_BenifitPackageProvider(); hR_BenifitPackages = sqlHR_BenifitPackageProvider.GetDropDownLisAllHR_BenifitPackage(); return hR_BenifitPackages; }
public static void LoadHR_BenifitPackagePage(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_BenifitPackageProvider sqlHR_BenifitPackageProvider = new SqlHR_BenifitPackageProvider(); DataSet ds = sqlHR_BenifitPackageProvider.GetHR_BenifitPackagePageWise(pageIndex, PageSize, out recordCount); gv.DataSource = ds; gv.DataBind(); hR_BenifitPackagesPaggination(rptPager,recordCount, pageIndex, PageSize); }
public static bool UpdateHR_BenifitPackage(HR_BenifitPackage hR_BenifitPackage) { SqlHR_BenifitPackageProvider sqlHR_BenifitPackageProvider = new SqlHR_BenifitPackageProvider(); return sqlHR_BenifitPackageProvider.UpdateHR_BenifitPackage(hR_BenifitPackage); }
public static int InsertHR_BenifitPackage(HR_BenifitPackage hR_BenifitPackage) { SqlHR_BenifitPackageProvider sqlHR_BenifitPackageProvider = new SqlHR_BenifitPackageProvider(); return sqlHR_BenifitPackageProvider.InsertHR_BenifitPackage(hR_BenifitPackage); }
public static bool DeleteHR_BenifitPackage(int hR_BenifitPackageID) { SqlHR_BenifitPackageProvider sqlHR_BenifitPackageProvider = new SqlHR_BenifitPackageProvider(); return sqlHR_BenifitPackageProvider.DeleteHR_BenifitPackage(hR_BenifitPackageID); }