MySqlDataReader.GetColumnSchemaAsync method
Returns metadata about the columns in the result set.
public override Task<ReadOnlyCollection<DbColumn>> GetColumnSchemaAsync(
CancellationToken cancellationToken = default)
parameter | description |
---|---|
cancellationToken | A token to cancel the operation. |
Return Value
A Task containing ReadOnlyCollection containing metadata about the result set.
Remarks
This method runs synchronously; prefer to call GetColumnSchema
to avoid the overhead of allocating an unnecessary Task
.
See Also
- class MySqlDataReader
- namespace MySqlConnector
- assembly MySqlConnector