Esempio n. 1
0
 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;
 }
Esempio n. 2
0
 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;
 }
Esempio n. 3
0
 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);
 }
Esempio n. 4
0
 public static bool UpdateHR_JobLocation(HR_JobLocation hR_JobLocation)
 {
     SqlHR_JobLocationProvider sqlHR_JobLocationProvider = new SqlHR_JobLocationProvider();
     return sqlHR_JobLocationProvider.UpdateHR_JobLocation(hR_JobLocation);
 }
Esempio n. 5
0
 public static int InsertHR_JobLocation(HR_JobLocation hR_JobLocation)
 {
     SqlHR_JobLocationProvider sqlHR_JobLocationProvider = new SqlHR_JobLocationProvider();
     return sqlHR_JobLocationProvider.InsertHR_JobLocation(hR_JobLocation);
 }
Esempio n. 6
0
 public static bool DeleteHR_JobLocation(int hR_JobLocationID)
 {
     SqlHR_JobLocationProvider sqlHR_JobLocationProvider = new SqlHR_JobLocationProvider();
     return sqlHR_JobLocationProvider.DeleteHR_JobLocation(hR_JobLocationID);
 }