Update unit test

This commit is contained in:
sunkaixuan
2023-08-12 17:37:11 +08:00
parent afcc06c56d
commit 75e6285a54

View File

@@ -65,7 +65,7 @@ namespace OrmTest
.Includes(x => x.Books)
.Where(x => x.Books.Any(z => z.BookId == 1) || x.Books.Any(z => z.BookId == 1))
.ToList();
db.QueryFilter.Clear();
var list222 = db.Queryable<StudentA>()
.Includes(x => x.SchoolA.ToList(it=>new SchoolA() { SchoolId=it.SchoolId}), x => x.RoomList.ToList(it=>new RoomA() { RoomId=it.RoomId}))