public static DataSet GetHR_DocumentsByEmployeeID(string EmployeeID) { DataSet hR_Documents = new DataSet(); SqlHR_DocumentsProvider sqlHR_DocumentsProvider = new SqlHR_DocumentsProvider(); hR_Documents = sqlHR_DocumentsProvider.GetHR_DocumentsByEmployeeID(EmployeeID); return hR_Documents; }
public static HR_Documents GetHR_DocumentsByDocumentsID(int DocumentsID) { HR_Documents hR_Documents = new HR_Documents(); SqlHR_DocumentsProvider sqlHR_DocumentsProvider = new SqlHR_DocumentsProvider(); hR_Documents = sqlHR_DocumentsProvider.GetHR_DocumentsByDocumentsID(DocumentsID); return hR_Documents; }
public static DataSet GetDropDownListAllHR_Documents() { DataSet hR_Documentss = new DataSet(); SqlHR_DocumentsProvider sqlHR_DocumentsProvider = new SqlHR_DocumentsProvider(); hR_Documentss = sqlHR_DocumentsProvider.GetDropDownLisAllHR_Documents(); return hR_Documentss; }
public static DataSet GetAllHR_DocumentssWithRelation() { DataSet hR_Documentss = new DataSet(); SqlHR_DocumentsProvider sqlHR_DocumentsProvider = new SqlHR_DocumentsProvider(); hR_Documentss = sqlHR_DocumentsProvider.GetAllHR_Documentss(); return hR_Documentss; }
public static void LoadHR_DocumentsPage(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_DocumentsProvider sqlHR_DocumentsProvider = new SqlHR_DocumentsProvider(); DataSet ds = sqlHR_DocumentsProvider.GetHR_DocumentsPageWise(pageIndex, PageSize, out recordCount); gv.DataSource = ds; gv.DataBind(); hR_DocumentssPaggination(rptPager,recordCount, pageIndex, PageSize); }
public static int InsertHR_Documents(HR_Documents hR_Documents) { SqlHR_DocumentsProvider sqlHR_DocumentsProvider = new SqlHR_DocumentsProvider(); return sqlHR_DocumentsProvider.InsertHR_Documents(hR_Documents); }
public static bool DeleteHR_Documents(int hR_DocumentsID) { SqlHR_DocumentsProvider sqlHR_DocumentsProvider = new SqlHR_DocumentsProvider(); return sqlHR_DocumentsProvider.DeleteHR_Documents(hR_DocumentsID); }
public static bool UpdateHR_Documents(HR_Documents hR_Documents) { SqlHR_DocumentsProvider sqlHR_DocumentsProvider = new SqlHR_DocumentsProvider(); return sqlHR_DocumentsProvider.UpdateHR_Documents(hR_Documents); }