mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-08-23 22:11:36 +08:00
Add unit error
This commit is contained in:
parent
e7b7203809
commit
cbc5e18636
@ -117,7 +117,9 @@ namespace OrmTest
|
|||||||
.Where(x => x.SchoolA.School_Name == "北大")
|
.Where(x => x.SchoolA.School_Name == "北大")
|
||||||
.ToList();
|
.ToList();
|
||||||
|
|
||||||
|
var list3_0_1 = db.Queryable<StudentA>()
|
||||||
|
.Includes(x => x.Books.Where(conditionals).ToList())
|
||||||
|
.ToList();
|
||||||
|
|
||||||
var list3_1 = db.Queryable<StudentA>()
|
var list3_1 = db.Queryable<StudentA>()
|
||||||
.Includes(x => x.Books.MappingField(z=>z.Names,()=>x.Name).ToList())
|
.Includes(x => x.Books.MappingField(z=>z.Names,()=>x.Name).ToList())
|
||||||
|
@ -44,9 +44,7 @@ namespace OrmTest
|
|||||||
.Include(it => it.School)
|
.Include(it => it.School)
|
||||||
.Include(it => it.Room)
|
.Include(it => it.Room)
|
||||||
.ExecuteCommand();
|
.ExecuteCommand();
|
||||||
Console.WriteLine(result);
|
|
||||||
Console.WriteLine("用例跑完");
|
|
||||||
Console.ReadKey();
|
|
||||||
}
|
}
|
||||||
//建类
|
//建类
|
||||||
public class SchoolA111
|
public class SchoolA111
|
||||||
|
Loading…
Reference in New Issue
Block a user