This commit is contained in:
sunkaixuan
2018-10-14 13:24:16 +08:00
parent cf5ad4c7f3
commit f2623ac8bc

View File

@@ -22,7 +22,8 @@ namespace OrmTest.Demo
.Mapper((it, cache) =>
{
var allSchools = cache.GetListByPrimaryKeys<School>(vmodel => vmodel.SchoolId);//inViewModelStudent3[0].SchoolId , ViewModelStudent3[1].SchoolId...
var allSchools = cache.GetListByPrimaryKeys<School>(vmodel => vmodel.SchoolId);
//sql select shool where id (inViewModelStudent3[0].SchoolId , ViewModelStudent3[1].SchoolId...
//Equal to allSchools
//var allSchools2= cache.Get(list =>