MySqlBatch.ExecuteReaderAsync method
Executes all the commands in the batch, returning a MySqlDataReader
that can iterate over the result sets. If multiple resultsets are returned, use NextResultAsync
to access them.
public Task<MySqlDataReader> ExecuteReaderAsync(CancellationToken cancellationToken = default)
parameter | description |
---|---|
cancellationToken | A token to cancel the asynchronous operation. |
Return Value
A Task containing the result of the asynchronous operation.
See Also
- class MySqlDataReader
- class MySqlBatch
- namespace MySqlConnector
- assembly MySqlConnector