Пример #1
0
 public static HR_ContactInformation GetHR_EmployeeByEmployeeID(string EmployeeID)
 {
     HR_ContactInformation hR_ContactInformation = new HR_ContactInformation();
     SqlHR_ContactInformationProvider sqlHR_ContactInformationProvider = new SqlHR_ContactInformationProvider();
     hR_ContactInformation = sqlHR_ContactInformationProvider.GetHR_ContactInformationByEmployeeID(EmployeeID);
     return hR_ContactInformation;
 }
Пример #2
0
 public static HR_ContactInformation GetHR_ContactInformationByContactInformationID(int ContactInformationID)
 {
     HR_ContactInformation hR_ContactInformation = new HR_ContactInformation();
     SqlHR_ContactInformationProvider sqlHR_ContactInformationProvider = new SqlHR_ContactInformationProvider();
     hR_ContactInformation = sqlHR_ContactInformationProvider.GetHR_ContactInformationByContactInformationID(ContactInformationID);
     return hR_ContactInformation;
 }
Пример #3
0
 public static DataSet GetDropDownListAllHR_ContactInformation()
 {
     DataSet hR_ContactInformations = new DataSet();
     SqlHR_ContactInformationProvider sqlHR_ContactInformationProvider = new SqlHR_ContactInformationProvider();
     hR_ContactInformations = sqlHR_ContactInformationProvider.GetDropDownListAllHR_ContactInformation();
     return hR_ContactInformations;
 }
Пример #4
0
 public static void LoadHR_ContactInformationPage(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_ContactInformationProvider sqlHR_ContactInformationProvider = new SqlHR_ContactInformationProvider();
     DataSet ds =  sqlHR_ContactInformationProvider.GetHR_ContactInformationPageWise(pageIndex, PageSize, out recordCount);
     gv.DataSource = ds;
     gv.DataBind();
      hR_ContactInformationsPaggination(rptPager,recordCount, pageIndex, PageSize);
 }
Пример #5
0
 public static int InsertHR_ContactInformation(HR_ContactInformation hR_ContactInformation)
 {
     SqlHR_ContactInformationProvider sqlHR_ContactInformationProvider = new SqlHR_ContactInformationProvider();
     return sqlHR_ContactInformationProvider.InsertHR_ContactInformation(hR_ContactInformation);
 }
Пример #6
0
 public static bool DeleteHR_ContactInformation(int hR_ContactInformationID)
 {
     SqlHR_ContactInformationProvider sqlHR_ContactInformationProvider = new SqlHR_ContactInformationProvider();
     return sqlHR_ContactInformationProvider.DeleteHR_ContactInformation(hR_ContactInformationID);
 }
Пример #7
0
 public static bool UpdateHR_ContactInformation(HR_ContactInformation hR_ContactInformation)
 {
     SqlHR_ContactInformationProvider sqlHR_ContactInformationProvider = new SqlHR_ContactInformationProvider();
     return sqlHR_ContactInformationProvider.UpdateHR_ContactInformation(hR_ContactInformation);
 }