public string GetNext(string Table, string CodeField, string Code) { try { WindowsFormDal WindowsFormDal = new WindowsFormDal(); return(WindowsFormDal.GetNext(Table, CodeField, Code)); } catch (Exception) { return(""); } }
public object GetNextID(string Table, string ID) { try { WindowsFormDal WindowsFormDal = new WindowsFormDal(); return(WindowsFormDal.GetNextID(Table, ID)); } catch (Exception) { return(0); } }
public object GetNextCode(string Table, string Code) { try { WindowsFormDal WindowsFormDal = new WindowsFormDal(); return(WindowsFormDal.GetNextCode(Table, Code)); } catch (Exception) { return(0); } }
public DataTable GetID(string TableName, string CodeField, int ID) { try { WindowsFormDal WindowsFormDal = new WindowsFormDal(); return(WindowsFormDal.GetID(TableName, CodeField, ID)); } catch (Exception) { return(null); } }
public DataTable GetAll(string TableName) { try { WindowsFormDal WindowsFormDal = new WindowsFormDal(); return(WindowsFormDal.GetAll(TableName)); } catch (Exception) { return(null); } }
public object GetAllByID(string TableName) { try { WindowsFormDal WindowsFormDal = new WindowsFormDal(); return(WindowsFormDal.GetByID(TableName)); } catch (Exception) { return(null); } }