mirror of
https://github.com/dotnetcore/FreeSql.git
synced 2026-02-09 18:00:56 +08:00
update
@@ -81,9 +81,9 @@ new List<Song>(new[] { song1, song2, song3 })
|
|||||||
```csharp
|
```csharp
|
||||||
fsql.Select<Song>().ToList(a => new
|
fsql.Select<Song>().ToList(a => new
|
||||||
{
|
{
|
||||||
all = a,
|
all = a,
|
||||||
list1 = fsql.Select<Tag>().ToList(),
|
list1 = fsql.Select<Tag>().ToList(),
|
||||||
list2 = fsql.Select<SongTag>().Where(b => b.SongId == a.Id).ToList()
|
list2 = fsql.Select<SongTag>().Where(b => b.SongId == a.Id).ToList()
|
||||||
});
|
});
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
6
贪婪加载.md
6
贪婪加载.md
@@ -80,9 +80,9 @@ new List<Song>(new[] { song1, song2, song3 })
|
|||||||
```csharp
|
```csharp
|
||||||
fsql.Select<Song>().ToList(a => new
|
fsql.Select<Song>().ToList(a => new
|
||||||
{
|
{
|
||||||
all = a,
|
all = a,
|
||||||
list1 = fsql.Select<Tag>().ToList(),
|
list1 = fsql.Select<Tag>().ToList(),
|
||||||
list2 = fsql.Select<SongTag>().Where(b => b.SongId == a.Id).ToList()
|
list2 = fsql.Select<SongTag>().Where(b => b.SongId == a.Id).ToList()
|
||||||
});
|
});
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user