mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-24 04:53:45 +08:00
Add unit test
This commit is contained in:
@@ -20,9 +20,9 @@ namespace OrmTest
|
||||
});
|
||||
|
||||
db.CodeFirst.InitTables<Country111, Province111, City111>();
|
||||
db.DbMaintenance.TruncateTable("Country111");
|
||||
db.DbMaintenance.TruncateTable("Province111");
|
||||
db.DbMaintenance.TruncateTable("City111");
|
||||
db.DbMaintenance.TruncateTable("Country_111");
|
||||
db.DbMaintenance.TruncateTable("Province_111");
|
||||
db.DbMaintenance.TruncateTable("City_111");
|
||||
db.Insertable(new List<Country111>()
|
||||
{
|
||||
new Country111(){
|
||||
|
Reference in New Issue
Block a user