I managed to install System.Data.SqlClient from Nuget, and I can use SqlConnection and SqlDataReader to read. But why does the error say Close () for SqlDataReader for the DNX 5 kernel?
Error DNX Core 5.0 CS1061: "SqlDataReader" does not contain a definition of "Close" and the extension method "Close" accepting the first argument of the type "SqlDataReader" can be found (are you missing the use of directives or assembly references?)
source share