Method ExecuteNonQueryAsync
| Improve this Doc View SourceExecuteNonQueryAsync(TCommand, CancellationToken)
Executes the command in transaction and returns the number of rows affected.
Declaration
protected abstract Task<int> ExecuteNonQueryAsync(TCommand command, CancellationToken ct)
Parameters
| Type | Name | Description |
|---|---|---|
| TCommand | command | The command. |
| System.Threading.CancellationToken | ct | The async cancellation token. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<System.Int32> | The number of rows affected. |