mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-12-29 09:54:44 +08:00
-
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user