mirror of
https://github.com/dotnetcore/FreeSql.git
synced 2026-02-09 09:50:54 +08:00
update
2
贪婪加载.md
2
贪婪加载.md
@@ -85,7 +85,7 @@ Select<Tag>().IncludeMany(a => a.TestManys.Where(b => b.TagId == a.Id));
|
|||||||
|
|
||||||
> 支持联合键关系指定
|
> 支持联合键关系指定
|
||||||
|
|
||||||
只查询每项子集合的前几条数据,避免像EfCore加载所有数据导致IO性能低下(比如作者下有200条评论)。
|
只查询每项子集合的前几条数据,避免像EfCore加载所有数据导致IO性能低下(比如某商品下有2000条评论)。
|
||||||
|
|
||||||
```csharp
|
```csharp
|
||||||
Select<Tag>().IncludeMany(a => a.TestManys.Take(10));
|
Select<Tag>().IncludeMany(a => a.TestManys.Take(10));
|
||||||
|
|||||||
Reference in New Issue
Block a user