Method UpdateAsync
| Improve this Doc View SourceUpdateAsync(IDbTable, DbSelectStatement, CancellationToken)
Executes UPDATE query statement.
Declaration
public static Task<int> UpdateAsync(this IDbTable dbTable, DbSelectStatement statement, CancellationToken ct)
Parameters
| Type | Name | Description |
|---|---|---|
| IDbTable | dbTable | The target DbTable. |
| DbSelectStatement | statement | The query statement. |
| System.Threading.CancellationToken | ct | The async cancellation token. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<System.Int32> | Number of rows affected. |