ExecuteNonQueryAsync
Overload List:
ExecuteNonQueryAsync
returns a Task-based asynchronous version of ExecuteNonQuery()
.
-
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 aCancellationToken
.