Update Sqlite

This commit is contained in:
sunkaixuan 2017-07-09 19:58:35 +08:00
parent 0b5db835da
commit c8721af0a8
3 changed files with 12 additions and 12 deletions

View File

@ -82,7 +82,7 @@ namespace SqlSugar
{
get
{
return "TRUNCATE TABLE {0}";
return "DELETE FROM {0}";
}
}
protected override string BackupTableSql

View File

@ -31,18 +31,18 @@ namespace OrmTest
new Mapping(1).Init();
new DataTest(1).Init();
//// /***Performance Test***/
//// new SqlSugarPerformance(100).Select();
/***Performance Test***/
new SqlSugarPerformance(100).Select();
///***Demo***/
//OrmTest.Demo.Query.Init();
//OrmTest.Demo.Insert.Init();
//OrmTest.Demo.Delete.Init();
//OrmTest.Demo.Update.Init();
//OrmTest.Demo.DbFirst.Init();
//OrmTest.Demo.JoinSql.Init();
//OrmTest.Demo.Filter.Init();
//OrmTest.Demo.ComplexModel.Init();
/***Demo***/
OrmTest.Demo.Query.Init();
OrmTest.Demo.Insert.Init();
OrmTest.Demo.Delete.Init();
OrmTest.Demo.Update.Init();
OrmTest.Demo.DbFirst.Init();
OrmTest.Demo.JoinSql.Init();
OrmTest.Demo.Filter.Init();
OrmTest.Demo.ComplexModel.Init();
OrmTest.Demo.CodeFirst.Init();
}
}