This commit is contained in:
sunkaixuan
2017-07-14 12:16:56 +08:00
parent 59e49827a5
commit c22046af68
3 changed files with 8 additions and 4 deletions

View File

@@ -132,7 +132,7 @@ namespace OrmTest.Demo
int count = 0;
var list4 = db.Queryable<Student>()
.PartitionBy(it => new { it.Name }).Take(1).ToPageList(3,3,ref count);
.PartitionBy(it => new { it.Name }).Take(1).OrderBy(it=>it.Id).ToPageList(3,3,ref count);
//SqlFunc.AggregateSum(object thisValue)
//SqlFunc.AggregateAvg<TResult>(TResult thisValue)