This commit is contained in:
sunkaixuan
2017-09-12 14:02:12 +08:00
parent f0881ba672
commit a0a22b8449
2 changed files with 5 additions and 3 deletions

View File

@@ -155,6 +155,8 @@ namespace OrmTest.Demo
// group id,name take first
var list3 = db.Queryable<Student>()
.PartitionBy(it => new { it.Id, it.Name }).Take(1).ToList();
var list31 = db.Queryable<Student>()
.PartitionBy(it => new { it.Id, it.Name }).Take(1).Count();
int count = 0;