mirror of
https://github.com/dotnetcore/FreeSql.git
synced 2026-03-14 01:50:58 +08:00
Updated 多表查询 (markdown)
2
多表查询.md
2
多表查询.md
@@ -72,6 +72,8 @@ fsql.Select<Topic, Category, CategoryType>()
|
|||||||
//WHERE c. `Id` > 0
|
//WHERE c. `Id` > 0
|
||||||
```
|
```
|
||||||
|
|
||||||
|
> 技巧:[一对多关系,分表只取关联的第一条记录](https://github.com/dotnetcore/FreeSql/issues/430)
|
||||||
|
|
||||||
## 3、WithSql
|
## 3、WithSql
|
||||||
|
|
||||||
```csharp
|
```csharp
|
||||||
|
|||||||
Reference in New Issue
Block a user