mirror of
https://github.com/dotnetcore/FreeSql.git
synced 2026-02-13 20:00:55 +08:00
update
@@ -215,13 +215,13 @@ fsql.Select<Topic>().ToList(a => new
|
|||||||
});
|
});
|
||||||
|
|
||||||
fsql.Select<Topic>()
|
fsql.Select<Topic>()
|
||||||
.GroupBy(a => new { a.Author })
|
.GroupBy(a => new { a.Author })
|
||||||
.WithTempQuery(a => new { Author = a.Key.Author, Count = a.Count() })
|
.WithTempQuery(a => new { Author = a.Key.Author, Count = a.Count() })
|
||||||
.ToList(a => new {
|
.ToList(a => new {
|
||||||
a.Author, a.Count,
|
a.Author, a.Count,
|
||||||
list1 = fsql.Select<T2>().ToList(),
|
list1 = fsql.Select<T2>().ToList(),
|
||||||
list2 = fsql.Select<T2>().Where(b => b.Author == a.Author).ToList()
|
list2 = fsql.Select<T2>().Where(b => b.Author == a.Author).ToList()
|
||||||
});
|
});
|
||||||
```
|
```
|
||||||
|
|
||||||
## 10. Collection properties
|
## 10. Collection properties
|
||||||
|
|||||||
Reference in New Issue
Block a user