示例#1
0
 public static HR_JobPosting GetHR_SupervisorBySupervisorID(string SupervisorID)
 {
     HR_JobPosting hR_JobPosting = new HR_JobPosting();
     SqlHR_JobPostingProvider sqlHR_JobPostingProvider = new SqlHR_JobPostingProvider();
     hR_JobPosting = sqlHR_JobPostingProvider.GetHR_JobPostingBySupervisorID(SupervisorID);
     return hR_JobPosting;
 }
示例#2
0
 public static DataSet GetHR_JobPostingByEmployeeID(string EmployeeID)
 {
     DataSet hR_JobPostings = new DataSet();
     SqlHR_JobPostingProvider sqlHR_JobPostingProvider = new SqlHR_JobPostingProvider();
     hR_JobPostings = sqlHR_JobPostingProvider.GetHR_JobPostingByEmployeeID(EmployeeID);
     return hR_JobPostings;
 }
示例#3
0
 public static HR_JobPosting GetHR_JobPostingByJobPostingID(int JobPostingID)
 {
     HR_JobPosting hR_JobPosting = new HR_JobPosting();
     SqlHR_JobPostingProvider sqlHR_JobPostingProvider = new SqlHR_JobPostingProvider();
     hR_JobPosting = sqlHR_JobPostingProvider.GetHR_JobPostingByJobPostingID(JobPostingID);
     return hR_JobPosting;
 }
示例#4
0
 public static DataSet GetDropDownListAllHR_JobPosting()
 {
     DataSet hR_JobPostings = new DataSet();
     SqlHR_JobPostingProvider sqlHR_JobPostingProvider = new SqlHR_JobPostingProvider();
     hR_JobPostings = sqlHR_JobPostingProvider.GetDropDownLisAllHR_JobPosting();
     return hR_JobPostings;
 }
示例#5
0
 public static HR_JobPosting GetHR_DesignationByDesignationID(int DesignationID)
 {
     HR_JobPosting hR_JobPosting = new HR_JobPosting();
     SqlHR_JobPostingProvider sqlHR_JobPostingProvider = new SqlHR_JobPostingProvider();
     hR_JobPosting = sqlHR_JobPostingProvider.GetHR_JobPostingByDesignationID(DesignationID);
     return hR_JobPosting;
 }
示例#6
0
 public static DataSet GetAllHR_JobPostingsWithRelation()
 {
     DataSet hR_JobPostings = new DataSet();
     SqlHR_JobPostingProvider sqlHR_JobPostingProvider = new SqlHR_JobPostingProvider();
     hR_JobPostings = sqlHR_JobPostingProvider.GetAllHR_JobPostings();
     return hR_JobPostings;
 }
示例#7
0
 public static bool DeleteHR_JobPosting(int hR_JobPostingID)
 {
     SqlHR_JobPostingProvider sqlHR_JobPostingProvider = new SqlHR_JobPostingProvider();
     return sqlHR_JobPostingProvider.DeleteHR_JobPosting(hR_JobPostingID);
 }
示例#8
0
 public static bool UpdateHR_JobPosting(HR_JobPosting hR_JobPosting)
 {
     SqlHR_JobPostingProvider sqlHR_JobPostingProvider = new SqlHR_JobPostingProvider();
     return sqlHR_JobPostingProvider.UpdateHR_JobPosting(hR_JobPosting);
 }
示例#9
0
 public static void LoadHR_JobPostingPage(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_JobPostingProvider sqlHR_JobPostingProvider = new SqlHR_JobPostingProvider();
     DataSet ds =  sqlHR_JobPostingProvider.GetHR_JobPostingPageWise(pageIndex, PageSize, out recordCount);
     gv.DataSource = ds;
     gv.DataBind();
      hR_JobPostingsPaggination(rptPager,recordCount, pageIndex, PageSize);
 }
示例#10
0
 public static int InsertHR_JobPosting(HR_JobPosting hR_JobPosting)
 {
     SqlHR_JobPostingProvider sqlHR_JobPostingProvider = new SqlHR_JobPostingProvider();
     return sqlHR_JobPostingProvider.InsertHR_JobPosting(hR_JobPosting);
 }