mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-19 04:18:16 +08:00
- 增加 ISelect`2-10 OrderByIf 方法 #446;
This commit is contained in:
@ -231,6 +231,8 @@ namespace FreeSql.Tests
|
||||
Id = a.Key,
|
||||
EdiId1 = SqlExt.Max(a.Key).Over().PartitionBy(new { a.Value.EdiId, a.Value.Id }).OrderByDescending(new { a.Value.EdiId, a.Value.Id }).ToValue(),
|
||||
EdiId2 = SqlExt.Max(a.Key).Over().PartitionBy(a.Value.EdiId).OrderByDescending(a.Value.Id).ToValue(),
|
||||
|
||||
Sub1 = g.sqlite.Select<Edi>().Where(b => b.Id == a.Key).Count()
|
||||
});
|
||||
|
||||
var sqlextGroupConcat = g.mysql.Select<Edi, EdiItem>()
|
||||
|
Reference in New Issue
Block a user