I managed to install System.Data.SqlClient from Nuget and I can use SqlConnection and SqlDataReader to read. But why error says Close() for SqlDataReader missing for DNX core 5?
DNX Core 5.0 error CS1061: 'SqlDataReader' does not contain a definition for 'Close' and no extension method 'Close' accepting a first argument of type 'SqlDataReader' could be found (are you missing a using directive or an assembly reference?)
Close
via IDataReader/DbDataReader or SqlDataReader directly? – qxg