Skip to content

SqlDataReader.GetFieldValue{,Async}() should work for Stream and TextReader #27

@roji

Description

@roji

Following #30958, where @Wraith2 added the ability to retrieve an XmlReader via SqlDataReader.GetFieldValue() and its async counterpart, we should do the same for Stream and TextReader. These can already be retrieved via GetStream() and GetTextReader() respectively.

The main motivation behind this would be to allow getting Reader/TextReader asynchronously without introducing new GetReaderAsync() and GetTextReaderAsync() methods. See https://github.com/dotnet/corefx/issues/35012#issuecomment-484440830 and below for previous discussion.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Enhancement 💡Issues that are feature requests for the drivers we maintain.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions