mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-21 02:58:05 +08:00
Add unit test
This commit is contained in:
@@ -68,6 +68,10 @@ DROP TABLE IF EXISTS `school0001`;
|
||||
|
||||
var list=Db.Queryable<School>().Includes(X => X.StudentInfo).ToList();
|
||||
var student= Db.Queryable<Student>().ToList();
|
||||
if (student.Count != 1)
|
||||
{
|
||||
throw new Exception("unit error");
|
||||
}
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
|
Reference in New Issue
Block a user