mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-07-15 14:04:44 +08:00
Add unit test
This commit is contained in:
parent
79d9e5395f
commit
2a970922de
@ -334,6 +334,18 @@ namespace OrmTest
|
||||
name3 = string.Join(",", it.Child.Select(z => z.Id))
|
||||
});
|
||||
|
||||
if (!db.DbMaintenance.IsAnyTable("order", false))
|
||||
{
|
||||
throw new Exception("unit error");
|
||||
}
|
||||
if (db.DbMaintenance.IsAnyTable("ordsafadsfasdfasfasder", false))
|
||||
{
|
||||
throw new Exception("unit error");
|
||||
}
|
||||
if (!db.DbMaintenance.IsAnyTable("Tree1", false))
|
||||
{
|
||||
throw new Exception("unit error");
|
||||
}
|
||||
}
|
||||
|
||||
public class UnitA001
|
||||
|
Loading…
Reference in New Issue
Block a user