mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-23 20:43:46 +08:00
Update exp to sql
This commit is contained in:
@@ -136,6 +136,8 @@ namespace OrmTest
|
||||
|
||||
int c = 0;
|
||||
var test10 = db.Queryable<Order>().ToPageList(1, 2, ref c);
|
||||
var test11 = db.Queryable<Order>().GroupBy(it=>new { it.CreateTime.Year }).Select(it=>it.CreateTime.Year).ToList();
|
||||
var test12 = db.Queryable<Order>().GroupBy(it => it.CreateTime.Date ).Select(it => it.CreateTime.Date).ToList();
|
||||
Console.WriteLine("#### Examples End ####");
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user