mirror of
https://github.com/dotnetcore/FreeSql.git
synced 2026-02-10 18:30:55 +08:00
Updated 查询 (markdown)
5
查询.md
5
查询.md
@@ -100,9 +100,12 @@ fsql.Select<Region>().WhereDynamicFilter(dyfilter).ToList();
|
||||
//WHERE id = 1 AND (id = 2 OR id = 3)
|
||||
```
|
||||
|
||||
> 动态表名:ISelect.AsTable((t, old) => $"{old}_201903")>
|
||||
> 动态表名:ISelect.AsTable((t, old) => $"{old}_201903")
|
||||
|
||||
> 动态排序:ISelect.OrderByPropertyName("Parent.Code")
|
||||
|
||||
> 动态返回:ISelect.ToDataTableByPropertyName(new string[] { "Parent.Code", "Id" })
|
||||
|
||||
> 动态贪婪加载:ISelect.IncludeByPropertyName("Parent.Parent").IncludeByPropertyName("Parent.Childs")
|
||||
|
||||
## API
|
||||
|
||||
Reference in New Issue
Block a user