Browse Source

-

pull/12/MERGE
sunkaixuan 6 years ago
parent
commit
d8edbfe861
  1. 2
      Src/Asp.Net/SqlServerTest/Demos/G_Mapper.cs

2
Src/Asp.Net/SqlServerTest/Demos/G_Mapper.cs

@ -22,7 +22,7 @@ namespace OrmTest.Demo
.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.
//var allSchools2= cache.Get(list =>

Loading…
Cancel
Save