mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-08-23 22:11:36 +08:00
Add unit test
This commit is contained in:
parent
4b93f0eed3
commit
ed83b02d85
@ -55,6 +55,10 @@ namespace OrmTest
|
||||
|
||||
var list= db.Queryable<ClassA>().ToList();
|
||||
var list2=db.Queryable<ClassA>().Includes(z => z.B).ToList();
|
||||
if (list2.Count == 0)
|
||||
{
|
||||
throw new Exception("unit error");
|
||||
}
|
||||
Console.WriteLine("----------程序结束----------");
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user