mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-05 17:37:58 +08:00
Add unit test
This commit is contained in:
parent
53c58f7c08
commit
b278445055
@ -62,7 +62,11 @@ namespace OrmTest
|
||||
{
|
||||
throw new Exception("unit error");
|
||||
}
|
||||
|
||||
var list3 = db.Queryable<Tree>().Select<Tree2>().ToChildList(it => it.ParentId, 1);
|
||||
if (list3.Count != 3)
|
||||
{
|
||||
throw new Exception("unit error");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user