ExecuteNonQueryAsync

Overload List:

ExecuteNonQueryAsync returns a Task-based asynchronous version of ExecuteNonQuery().

  • ExecuteNonQueryAsync()

    This method returns an asynchronous version of ExecuteNonQuery(), which executes the command against its connection object and returns the number of rows affected.

  • ExecuteNonQueryAsync(CancellationToken cancellationToken)

    This method returns an asynchronous version of ExecuteNonQuery(), which executes the command against its connection object and returns the number of rows affected with a CancellationToken.