public static HR_JobLocation GetHR_JobLocationByJobLocationID(int JobLocationID) { HR_JobLocation hR_JobLocation = new HR_JobLocation(); SqlHR_JobLocationProvider sqlHR_JobLocationProvider = new SqlHR_JobLocationProvider(); hR_JobLocation = sqlHR_JobLocationProvider.GetHR_JobLocationByJobLocationID(JobLocationID); return hR_JobLocation; }
public static DataSet GetDropDownListAllHR_JobLocation() { DataSet hR_JobLocations = new DataSet(); SqlHR_JobLocationProvider sqlHR_JobLocationProvider = new SqlHR_JobLocationProvider(); hR_JobLocations = sqlHR_JobLocationProvider.GetDropDownListAllHR_JobLocation(); return hR_JobLocations; }
public static void LoadHR_JobLocationPage(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_JobLocationProvider sqlHR_JobLocationProvider = new SqlHR_JobLocationProvider(); DataSet ds = sqlHR_JobLocationProvider.GetHR_JobLocationPageWise(pageIndex, PageSize, out recordCount); gv.DataSource = ds; gv.DataBind(); hR_JobLocationsPaggination(rptPager,recordCount, pageIndex, PageSize); }
public static bool UpdateHR_JobLocation(HR_JobLocation hR_JobLocation) { SqlHR_JobLocationProvider sqlHR_JobLocationProvider = new SqlHR_JobLocationProvider(); return sqlHR_JobLocationProvider.UpdateHR_JobLocation(hR_JobLocation); }
public static int InsertHR_JobLocation(HR_JobLocation hR_JobLocation) { SqlHR_JobLocationProvider sqlHR_JobLocationProvider = new SqlHR_JobLocationProvider(); return sqlHR_JobLocationProvider.InsertHR_JobLocation(hR_JobLocation); }
public static bool DeleteHR_JobLocation(int hR_JobLocationID) { SqlHR_JobLocationProvider sqlHR_JobLocationProvider = new SqlHR_JobLocationProvider(); return sqlHR_JobLocationProvider.DeleteHR_JobLocation(hR_JobLocationID); }