mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-24 18:04:52 +08:00
Update unit test
This commit is contained in:
parent
f3d08a7563
commit
0c65b17e84
@ -116,6 +116,12 @@ namespace OrmTest
|
||||
db.InsertNav(list.Last().school_001)
|
||||
.ThenInclude(x => x.rooms)
|
||||
.ThenInclude(x => x.desk);
|
||||
|
||||
if (db.Queryable<Desk_002>().Count() != 4 || db.Queryable<Room_002>().Count() != 4
|
||||
|| db.Queryable<School_002>().Count() != 2 || db.Queryable<Student_002>().Count() != 0)
|
||||
{
|
||||
throw new Exception("unit error");
|
||||
}
|
||||
}
|
||||
|
||||
public class Student_002
|
||||
|
Loading…
Reference in New Issue
Block a user