コード例 #1
0
 public DataTable ToTable <T>(long id, bool orderby)
 {
     string where = DbComm.GetPrimaryKeywhere <T>(id);
     return(ToTable <T>(0, 0, where, null, orderby));
 }
コード例 #2
0
 public int Del <T>(long id)
 {
     string where = DbComm.GetPrimaryKeywhere <T>(id);
     return(Del <T>(where));
 }
コード例 #3
0
 public DataTable ToTable <T>(long id)
 {
     string where = DbComm.GetPrimaryKeywhere <T>(id);
     return(ToTable <T>(0, 0, where, null, false));
 }
コード例 #4
0
 public List <T> ToList <T>(long id, bool orderby)
 {
     string where = DbComm.GetPrimaryKeywhere <T>(id);
     return(ToList <T>(0, 0, where, null, orderby));
 }
コード例 #5
0
 public List <T> ToList <T>(long id)
 {
     string where = DbComm.GetPrimaryKeywhere <T>(id);
     return(ToList <T>(0, 0, where, null, false));
 }
コード例 #6
0
 public int GetCount <T>(string column, long id)
 {
     string where = DbComm.GetPrimaryKeywhere <T>(id);
     return(GetCount <T>(column, where));
 }
コード例 #7
0
 public int GetCount <T>(long id)
 {
     string where = DbComm.GetPrimaryKeywhere <T>(id);
     return(GetCount <T>(null, where));
 }
コード例 #8
0
 public T FirstDefault <T>(long id)
 {
     string where = DbComm.GetPrimaryKeywhere <T>(id);
     return(FirstDefault <T>(where));
 }