Good stuff on DataReader->Dataset

My blog has moved.
You can view this post at the following address:
http://www.osherove.com/blog/2004/1/23/good-stuff-on-datareader-gtdataset.html
Published Friday, January 23, 2004 10:09 AM by RoyOsherove
Filed under:

Comments

Friday, January 23, 2004 11:25 AM by Brian Vargas

# re: Good stuff on DataReader->Dataset

I'll take the burden off of Steve for finding the code.

http://blog.ardvaark.net/article.php?story=20040123111610429
Friday, January 23, 2004 12:05 PM by stefan

# re: Good stuff on DataReader->Dataset

A Dataset is already a structure with data filled by a DataReader less a few features
Why recreate it?
Friday, January 23, 2004 12:07 PM by Roy Osherove

# re: Good stuff on DataReader->Dataset

Stefan: The idea was so that you can easily test a data reader inteface in unit tests. What does a unt test that does not want to connect to the database do what it comes time to test methods that return a data reader? a data reader muct be connected to the database by definition. This is why.