Exemplo n.º 1
0
 public List <T> Select <T>(string TableName, string Where) where T : MyData
 {
     List <T> ret = null; Execute((conn, cmd, trans) => { ret = MySqlCommandTool.Select <T>(cmd, TableName, Where); }); return(ret);
 }
Exemplo n.º 2
0
 public void Delete <T>(string TableName, params T[] Datas) where T : MyData
 {
     Execute((conn, cmd, trans) => { MySqlCommandTool.Delete <T>(cmd, TableName, Datas); });
 }
Exemplo n.º 3
0
 public bool Exist <T>(string TableName, T Data) where T : MyData
 {
     bool ret = false; Execute((conn, cmd, trans) => { ret = MySqlCommandTool.Exist <T>(cmd, TableName, Data); }); return(ret);
 }
Exemplo n.º 4
0
 public bool Check(string TableName, string Where)
 {
     bool ret = false; Execute((conn, cmd, trans) => { ret = MySqlCommandTool.Check(cmd, TableName, Where); }); return(ret);
 }
Exemplo n.º 5
0
 public bool Exist(string TableName, int Id)
 {
     bool ret = false; Execute((conn, cmd, trans) => { ret = MySqlCommandTool.Exist(cmd, TableName, Id); }); return(ret);
 }
Exemplo n.º 6
0
 public void DropTable(string TableName)
 {
     Execute((conn, cmd, trans) => { MySqlCommandTool.DropTable(cmd, TableName); });
 }
Exemplo n.º 7
0
 public void CreateTable <T>(string TableName) where T : MyData
 {
     Execute((conn, cmd, trans) => { MySqlCommandTool.CreateTable <T>(cmd, TableName); });
 }
Exemplo n.º 8
0
 public void Delete(string TableName, string Where)
 {
     Execute((conn, cmd, trans) => { MySqlCommandTool.Delete(cmd, TableName, Where); });
 }
Exemplo n.º 9
0
 public void Delete(string TableName, List <int> Ids)
 {
     Execute((conn, cmd, trans) => { MySqlCommandTool.Delete(cmd, TableName, Ids); });
 }