This commit is contained in:
sunkaixuan
2017-07-14 03:03:49 +08:00
parent 262c3eddc1
commit 50065ccbf7
3 changed files with 17 additions and 8 deletions

View File

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