mirror of
https://github.com/dotnetcore/FreeSql.git
synced 2026-02-06 16:30:52 +08:00
Updated Update Data (markdown)
@@ -29,6 +29,12 @@ fsql.Update<Topic>(object dywhere)
|
||||
* `new[] { TopicObject1, TopicObject2 }`
|
||||
* `new { id = 1 }`
|
||||
|
||||
## Dynamic tablename
|
||||
|
||||
```csharp
|
||||
fsql.Update<Topic>(1).AsTable("Topic_201903").ExecuteAffrows();
|
||||
```
|
||||
|
||||
## 1. Update the specified column
|
||||
```csharp
|
||||
fsql.Update<Topic>(1)
|
||||
|
||||
Reference in New Issue
Block a user