예제 #1
0
 public void Delete <T>(string TableName, params T[] Datas) where T : SQLiteData
 {
     ExecuteWaiting((conn, cmd, trans) => { SQLiteCommandTool.Delete <T>(cmd, TableName, Datas); });
 }
예제 #2
0
 public bool Check(string TableName, string Where)
 {
     bool ret = false; ExecuteWaiting((conn, cmd, trans) => { ret = SQLiteCommandTool.Check(cmd, TableName, Where); }); return(ret);
 }
예제 #3
0
 public List <T> Select <T>(string TableName, string Where) where T : SQLiteData
 {
     List <T> ret = null; ExecuteWaiting((conn, cmd, trans) => { ret = SQLiteCommandTool.Select <T>(cmd, TableName, Where); }); return(ret);
 }
예제 #4
0
 public bool Exist(string TableName, int Id)
 {
     bool ret = false; ExecuteWaiting((conn, cmd, trans) => { ret = SQLiteCommandTool.Exist(cmd, TableName, Id); }); return(ret);
 }
예제 #5
0
 public bool Exist <T>(string TableName, T Data) where T : SQLiteData
 {
     bool ret = false; ExecuteWaiting((conn, cmd, trans) => { ret = SQLiteCommandTool.Exist <T>(cmd, TableName, Data); }); return(ret);
 }
예제 #6
0
 public void DropTable(string TableName)
 {
     ExecuteWaiting((conn, cmd, trans) => { SQLiteCommandTool.DropTable(cmd, TableName); });
 }
예제 #7
0
 public void CreateTable <T>(string TableName) where T : SQLiteData
 {
     ExecuteWaiting((conn, cmd, trans) => { SQLiteCommandTool.CreateTable <T>(cmd, TableName); });
 }
예제 #8
0
 public void Delete(string TableName, string Where)
 {
     ExecuteWaiting((cmd, trans) => { SQLiteCommandTool.Delete(cmd, TableName, Where); });
 }
예제 #9
0
 public void Delete(string TableName, List <int> Ids)
 {
     ExecuteWaiting((cmd, trans) => { SQLiteCommandTool.Delete(cmd, TableName, Ids); });
 }
예제 #10
0
 public bool ExistTable(string TableName)
 {
     bool ret = false; ExecuteWaiting((cmd, trans) => { ret = SQLiteCommandTool.ExistTable(cmd, TableName); }); return(ret);
 }