public DataTable ToTable <T>(long id, bool orderby) { string where = DbComm.GetPrimaryKeywhere <T>(id); return(ToTable <T>(0, 0, where, null, orderby)); }
public int Del <T>(long id) { string where = DbComm.GetPrimaryKeywhere <T>(id); return(Del <T>(where)); }
public DataTable ToTable <T>(long id) { string where = DbComm.GetPrimaryKeywhere <T>(id); return(ToTable <T>(0, 0, where, null, false)); }
public List <T> ToList <T>(long id, bool orderby) { string where = DbComm.GetPrimaryKeywhere <T>(id); return(ToList <T>(0, 0, where, null, orderby)); }
public List <T> ToList <T>(long id) { string where = DbComm.GetPrimaryKeywhere <T>(id); return(ToList <T>(0, 0, where, null, false)); }
public int GetCount <T>(string column, long id) { string where = DbComm.GetPrimaryKeywhere <T>(id); return(GetCount <T>(column, where)); }
public int GetCount <T>(long id) { string where = DbComm.GetPrimaryKeywhere <T>(id); return(GetCount <T>(null, where)); }
public T FirstDefault <T>(long id) { string where = DbComm.GetPrimaryKeywhere <T>(id); return(FirstDefault <T>(where)); }