Add unit error

This commit is contained in:
sunkaixuan 2022-07-30 18:38:51 +08:00
parent e7b7203809
commit cbc5e18636
2 changed files with 4 additions and 4 deletions

View File

@ -117,7 +117,9 @@ namespace OrmTest
.Where(x => x.SchoolA.School_Name == "北大")
.ToList();
var list3_0_1 = db.Queryable<StudentA>()
.Includes(x => x.Books.Where(conditionals).ToList())
.ToList();
var list3_1 = db.Queryable<StudentA>()
.Includes(x => x.Books.MappingField(z=>z.Names,()=>x.Name).ToList())

View File

@ -44,9 +44,7 @@ namespace OrmTest
.Include(it => it.School)
.Include(it => it.Room)
.ExecuteCommand();
Console.WriteLine(result);
Console.WriteLine("用例跑完");
Console.ReadKey();
}
//建类
public class SchoolA111