diff --git a/Src/Asp.Net/SqlServerTest/Demos/G_Mapper.cs b/Src/Asp.Net/SqlServerTest/Demos/G_Mapper.cs index ccf18b2ae..9915944e7 100644 --- a/Src/Asp.Net/SqlServerTest/Demos/G_Mapper.cs +++ b/Src/Asp.Net/SqlServerTest/Demos/G_Mapper.cs @@ -22,7 +22,8 @@ namespace OrmTest.Demo .Mapper((it, cache) => { - var allSchools = cache.GetListByPrimaryKeys(vmodel => vmodel.SchoolId);//in(ViewModelStudent3[0].SchoolId , ViewModelStudent3[1].SchoolId...) + var allSchools = cache.GetListByPrimaryKeys(vmodel => vmodel.SchoolId); + //sql select shool where id (in(ViewModelStudent3[0].SchoolId , ViewModelStudent3[1].SchoolId...) //Equal to allSchools //var allSchools2= cache.Get(list =>