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