Add user test case

This commit is contained in:
sunkaixuan
2025-07-17 19:35:54 +08:00
parent 74f59831a6
commit 5633dadd9d

View File

@@ -91,6 +91,13 @@ namespace OrmTest
{
throw new Exception("unit error");
}
var x = db.Queryable<Student_001>().IncludesAllSecondLayer(x => x.school_001)
.ToList();
var x2 = db.Queryable<Student_001>().Includes(x => x.school_001, y => y.rooms)
.ToList();
if (db.Utilities.SerializeObject(x) != db.Utilities.SerializeObject(x2))
throw new Exception("unit error");
}
public class Student_001