mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-10-15 18:55:07 +08:00
Add unit test
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user