SqlClient: Make SqlDataReader.GetFieldValue<XmlReader>() behave like GetXmlReader() #26756
Labels
area-System.Data.SqlClient
enhancement
Product code improvement that does NOT require public API changes/additions
Milestone
Unfortunately,
reader.GetFieldValue<XmlReader>(0)
throws the following exception instead of coercing/wrapping the value inside of anXmlReader
like callingreader.GetXmlReader(0)
does.The text was updated successfully, but these errors were encountered: