mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-05-04 12:47:57 +08:00
-
This commit is contained in:
parent
f5d723162c
commit
d8edbfe861
@ -22,7 +22,7 @@ namespace OrmTest.Demo
|
|||||||
.Mapper((it, cache) =>
|
.Mapper((it, cache) =>
|
||||||
{
|
{
|
||||||
|
|
||||||
var allSchools = cache.GetListByPrimaryKeys<School>(i => i.SchoolId);//in(ViewModelStudent3[0].id , ViewModelStudent3[1].id...)
|
var allSchools = cache.GetListByPrimaryKeys<School>(i => i.SchoolId);//in(ViewModelStudent3[0].SchoolId , ViewModelStudent3[1].SchoolId...)
|
||||||
|
|
||||||
//Equal to the following writing.
|
//Equal to the following writing.
|
||||||
//var allSchools2= cache.Get(list =>
|
//var allSchools2= cache.Get(list =>
|
||||||
|
Loading…
Reference in New Issue
Block a user