diff --git a/Src/Asp.Net/SqlServerTest/Demos/G_Mapper.cs b/Src/Asp.Net/SqlServerTest/Demos/G_Mapper.cs index c1e83ba72..3f68d140f 100644 --- a/Src/Asp.Net/SqlServerTest/Demos/G_Mapper.cs +++ b/Src/Asp.Net/SqlServerTest/Demos/G_Mapper.cs @@ -22,7 +22,7 @@ namespace OrmTest.Demo .Mapper((it, cache) => { - var allSchools = cache.GetListByPrimaryKeys(i => i.SchoolId);//in(ViewModelStudent3[0].SchoolId , ViewModelStudent3[1].SchoolId...) + var allSchools = cache.GetListByPrimaryKeys(vmodel => vmodel.SchoolId);//in(ViewModelStudent3[0].SchoolId , ViewModelStudent3[1].SchoolId...) //Equal to the following writing. //var allSchools2= cache.Get(list =>