public static HR_OthersDocuments GetHR_OthersDocumentsByOthersDocumentsID(int OthersDocumentsID)
 {
     HR_OthersDocuments hR_OthersDocuments = new HR_OthersDocuments();
     SqlHR_OthersDocumentsProvider sqlHR_OthersDocumentsProvider = new SqlHR_OthersDocumentsProvider();
     hR_OthersDocuments = sqlHR_OthersDocumentsProvider.GetHR_OthersDocumentsByOthersDocumentsID(OthersDocumentsID);
     return hR_OthersDocuments;
 }
 public static DataSet GetDropDownListAllHR_OthersDocuments()
 {
     DataSet hR_OthersDocumentss = new DataSet();
     SqlHR_OthersDocumentsProvider sqlHR_OthersDocumentsProvider = new SqlHR_OthersDocumentsProvider();
     hR_OthersDocumentss = sqlHR_OthersDocumentsProvider.GetDropDownLisAllHR_OthersDocuments();
     return hR_OthersDocumentss;
 }
 public static DataSet GetAllHR_OthersDocumentssWithRelation()
 {
     DataSet hR_OthersDocumentss = new DataSet();
     SqlHR_OthersDocumentsProvider sqlHR_OthersDocumentsProvider = new SqlHR_OthersDocumentsProvider();
     hR_OthersDocumentss = sqlHR_OthersDocumentsProvider.GetAllHR_OthersDocumentss();
     return hR_OthersDocumentss;
 }
    public static DataSet GetHR_OthersDocumentsByEmployeeID(string EmployeeID)
    {
        DataSet hR_OthersDocumentss = new DataSet();

        SqlHR_OthersDocumentsProvider sqlHR_OthersDocumentsProvider = new SqlHR_OthersDocumentsProvider();
        hR_OthersDocumentss = sqlHR_OthersDocumentsProvider.GetHR_OthersDocumentsByEmployeeID(EmployeeID);
        return hR_OthersDocumentss;
    }
 public static void LoadHR_OthersDocumentsPage(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_OthersDocumentsProvider sqlHR_OthersDocumentsProvider = new SqlHR_OthersDocumentsProvider();
     DataSet ds =  sqlHR_OthersDocumentsProvider.GetHR_OthersDocumentsPageWise(pageIndex, PageSize, out recordCount);
     gv.DataSource = ds;
     gv.DataBind();
      hR_OthersDocumentssPaggination(rptPager,recordCount, pageIndex, PageSize);
 }
 public static int InsertHR_OthersDocuments(HR_OthersDocuments hR_OthersDocuments)
 {
     SqlHR_OthersDocumentsProvider sqlHR_OthersDocumentsProvider = new SqlHR_OthersDocumentsProvider();
     return sqlHR_OthersDocumentsProvider.InsertHR_OthersDocuments(hR_OthersDocuments);
 }
 public static bool DeleteHR_OthersDocuments(int hR_OthersDocumentsID)
 {
     SqlHR_OthersDocumentsProvider sqlHR_OthersDocumentsProvider = new SqlHR_OthersDocumentsProvider();
     return sqlHR_OthersDocumentsProvider.DeleteHR_OthersDocuments(hR_OthersDocumentsID);
 }
 public static bool UpdateHR_OthersDocuments(HR_OthersDocuments hR_OthersDocuments)
 {
     SqlHR_OthersDocumentsProvider sqlHR_OthersDocumentsProvider = new SqlHR_OthersDocumentsProvider();
     return sqlHR_OthersDocumentsProvider.UpdateHR_OthersDocuments(hR_OthersDocuments);
 }