Updated Query from Multi Tables (markdown)

2881099
2025-12-12 21:34:27 +08:00
parent 1d5b7f426f
commit 82f297b3ce

@@ -80,6 +80,7 @@ fsql.Select<Topic, Category, CategoryType>()
## 3、WithoutJoin
```csharp
fsql.Select<Order, Product, User>()
.InnerJoin((o, p, u) => o.UserId == u.Id)
.LeftJoin((o, p, u) => o.ProductId == p.Id)
@@ -94,6 +95,7 @@ fsql.Select<Order, Product, User>()
// includeProductInfo = true: SQL JOIN Product
// includeProductInfo = false: SQL will not JOIN Product, ProductName will be "N/A"
```
## 4. SQL join table