Exemple #1
0
 public static HR_Designation GetHR_DesignationByDesignationID(int DesignationID)
 {
     HR_Designation hR_Designation = new HR_Designation();
     SqlHR_DesignationProvider sqlHR_DesignationProvider = new SqlHR_DesignationProvider();
     hR_Designation = sqlHR_DesignationProvider.GetHR_DesignationByDesignationID(DesignationID);
     return hR_Designation;
 }
Exemple #2
0
 public static DataSet GetHR_DesignationByDepartmentID(int DepartmentID)
 {
     DataSet hR_Designations = new DataSet();
     SqlHR_DesignationProvider sqlHR_DesignationProvider = new SqlHR_DesignationProvider();
     hR_Designations = sqlHR_DesignationProvider.GetHR_DesignationByDepartmentID(DepartmentID);
     return hR_Designations;
 }
Exemple #3
0
 public static DataSet GetDropDownListAllHR_Designation()
 {
     DataSet hR_Designations = new DataSet();
     SqlHR_DesignationProvider sqlHR_DesignationProvider = new SqlHR_DesignationProvider();
     hR_Designations = sqlHR_DesignationProvider.GetDropDownLisAllHR_Designation();
     return hR_Designations;
 }
Exemple #4
0
 public static DataSet GetAllHR_DesignationsWithRelation()
 {
     DataSet hR_Designations = new DataSet();
     SqlHR_DesignationProvider sqlHR_DesignationProvider = new SqlHR_DesignationProvider();
     hR_Designations = sqlHR_DesignationProvider.GetAllHR_Designations();
     return hR_Designations;
 }
Exemple #5
0
 public static void LoadHR_DesignationPage(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_DesignationProvider sqlHR_DesignationProvider = new SqlHR_DesignationProvider();
     DataSet ds =  sqlHR_DesignationProvider.GetHR_DesignationPageWise(pageIndex, PageSize, out recordCount);
     gv.DataSource = ds;
     gv.DataBind();
      hR_DesignationsPaggination(rptPager,recordCount, pageIndex, PageSize);
 }
Exemple #6
0
 public static int InsertHR_Designation(HR_Designation hR_Designation)
 {
     SqlHR_DesignationProvider sqlHR_DesignationProvider = new SqlHR_DesignationProvider();
     return sqlHR_DesignationProvider.InsertHR_Designation(hR_Designation);
 }
Exemple #7
0
 public static bool DeleteHR_Designation(int hR_DesignationID)
 {
     SqlHR_DesignationProvider sqlHR_DesignationProvider = new SqlHR_DesignationProvider();
     return sqlHR_DesignationProvider.DeleteHR_Designation(hR_DesignationID);
 }
Exemple #8
0
 public static bool UpdateHR_Designation(HR_Designation hR_Designation)
 {
     SqlHR_DesignationProvider sqlHR_DesignationProvider = new SqlHR_DesignationProvider();
     return sqlHR_DesignationProvider.UpdateHR_Designation(hR_Designation);
 }