MySqlConnector


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(CancellationToken))
parameterdescription
cancellationTokenA token to cancel the asynchronous operation.

Return Value

A Task containing the result of the asynchronous operation.

See Also