ConsoleDump
ConsoleDump copied to clipboard
Ability to Dump IDataReader objects
Currently when I use Dump extension method on a DataReader instance, this is what I get:
System.Data.SqlClient.SqlDataReader
Depth 0
FieldCount 14
HasRows True
IsClosed False
RecordsAffected -1
VisibleFieldCount 14
The above visualization is not very useful. Dumping the values as a table, similar to how it is done for DataSet / DataTable would be great.
Thanks a lot for this great library. I use it a lot for my training sessions when teaching C# to newbies.
I am willing to push a PR if you are okay with that.