mirror of
https://github.com/dotnetcore/FreeSql.git
synced 2026-02-04 23:40:53 +08:00
update
@@ -38,6 +38,8 @@ List<Topic> t4 = fsql.Select<Topic>().LeftJoin(a => a.Type.Id == a.TypeId).ToLis
|
||||
|
||||
> At this time, the common field of `Topic` and the `Type` field of navigation property will be queried
|
||||
|
||||
more:[Greed Loading](Greed-Loading)
|
||||
|
||||
## Return the Specify Field
|
||||
|
||||
```csharp
|
||||
|
||||
2
返回数据.md
2
返回数据.md
@@ -28,6 +28,8 @@ List<Topic> t4 = fsql.Select<Topic>().LeftJoin(a => a.Type.Id == a.TypeId).ToLis
|
||||
//此时会查询 Topic普通字段 + 导航对象Type 字段
|
||||
```
|
||||
|
||||
更多导航属性的数据返回:[贪婪加载](%e8%b4%aa%e5%a9%aa%e5%8a%a0%e8%bd%bd)
|
||||
|
||||
## 5、指定字段返回
|
||||
```csharp
|
||||
//返回一个字段
|
||||
|
||||
Reference in New Issue
Block a user