mirror of
https://github.com/dotnetcore/FreeSql.git
synced 2026-02-07 00:40:55 +08:00
Updated Delete Data (markdown)
@@ -44,6 +44,11 @@ var t3 = fsql.Delete<Topic>(new[] { new Topic { Id = 1, Title = "test" }, new To
|
||||
var t4 = fsql.Delete<Topic>(new { id = 1 }).ExecuteAffrows();
|
||||
//DELETE FROM `Topic` WHERE (`Id` = 1)
|
||||
```
|
||||
## Dynamic tablename
|
||||
|
||||
```csharp
|
||||
fsql.Delete<Topic>(1).AsTable("Topic_201903").ExecuteAffrows();
|
||||
```
|
||||
|
||||
## Delete Conditions
|
||||
|
||||
|
||||
Reference in New Issue
Block a user