Executes this command asynchronously on the associated
public override Task<int> ExecuteNonQueryAsync(CancellationToken cancellationToken)
|cancellationToken||A token to cancel the asynchronous operation.|
A task representing the asynchronous operation.
For UPDATE, INSERT, and DELETE statements, the return value is the number of rows affected by the command. For stored procedures, the return value is the number of rows affected by the last statement in the stored procedure, or zero if the last statement is a SELECT. For all other types of statements, the return value is -1.