In particular, now CanGetColumnSchema always returns true (previously it was true only if DbDataReader implements IDbColumnSchemaGenerator). As a result, now check CanGetColumnSchema becomes useless -> it is expected that DbDataReader always implement GetSchemaTable.
To fix this RecordSetReader.GetSchemaTable should be implemented.
Implementation of
CanGetColumnSchema
GetColumnSchema
(DbDataReaderExtensions) was changed: https://github.com/dotnet/runtime/commit/c10cc1ede0789554d672a3558bd3618299f9b9b3In particular, now
CanGetColumnSchema
always returns true (previously it was true only ifDbDataReader
implementsIDbColumnSchemaGenerator
). As a result, now checkCanGetColumnSchema
becomes useless -> it is expected that DbDataReader always implement GetSchemaTable.To fix this RecordSetReader.GetSchemaTable should be implemented.