public static DataSet GetHR_ContactByEmployeeID(string EmployeeID) { DataSet hR_Contacts = new DataSet(); SqlHR_ContactProvider sqlHR_ContactProvider = new SqlHR_ContactProvider(); hR_Contacts = sqlHR_ContactProvider.GetHR_ContactByEmployeeID(EmployeeID); return hR_Contacts; }
public static HR_Contact GetHR_ContactObjectByEmployeeID(string EmployeeID) { HR_Contact hR_Contact = new HR_Contact(); SqlHR_ContactProvider sqlHR_ContactProvider = new SqlHR_ContactProvider(); hR_Contact = sqlHR_ContactProvider.GetHR_ContactObjectByEmployeeID(EmployeeID); return hR_Contact; }
public static HR_Contact GetHR_ContactByContactID(int ContactID) { HR_Contact hR_Contact = new HR_Contact(); SqlHR_ContactProvider sqlHR_ContactProvider = new SqlHR_ContactProvider(); hR_Contact = sqlHR_ContactProvider.GetHR_ContactByContactID(ContactID); return hR_Contact; }
public static DataSet GetDropDownListAllHR_Contact() { DataSet hR_Contacts = new DataSet(); SqlHR_ContactProvider sqlHR_ContactProvider = new SqlHR_ContactProvider(); hR_Contacts = sqlHR_ContactProvider.GetDropDownLisAllHR_Contact(); return hR_Contacts; }
public static DataSet GetAllHR_ContactsWithRelation() { DataSet hR_Contacts = new DataSet(); SqlHR_ContactProvider sqlHR_ContactProvider = new SqlHR_ContactProvider(); hR_Contacts = sqlHR_ContactProvider.GetAllHR_Contacts(); return hR_Contacts; }
public static void LoadHR_ContactPage(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_ContactProvider sqlHR_ContactProvider = new SqlHR_ContactProvider(); DataSet ds = sqlHR_ContactProvider.GetHR_ContactPageWise(pageIndex, PageSize, out recordCount); gv.DataSource = ds; gv.DataBind(); hR_ContactsPaggination(rptPager,recordCount, pageIndex, PageSize); }
public static int InsertHR_Contact(HR_Contact hR_Contact) { SqlHR_ContactProvider sqlHR_ContactProvider = new SqlHR_ContactProvider(); return sqlHR_ContactProvider.InsertHR_Contact(hR_Contact); }
public static bool DeleteHR_Contact(int hR_ContactID) { SqlHR_ContactProvider sqlHR_ContactProvider = new SqlHR_ContactProvider(); return sqlHR_ContactProvider.DeleteHR_Contact(hR_ContactID); }
public static bool UpdateHR_Contact(HR_Contact hR_Contact) { SqlHR_ContactProvider sqlHR_ContactProvider = new SqlHR_ContactProvider(); return sqlHR_ContactProvider.UpdateHR_Contact(hR_Contact); }