From the author of

From the author of

In the previous parts in this article series, I discussed the
DataReader, the untyped DataSet, the typed DataSet,
the wrapped DataSet, and the Hashtable. Now we come to my
favorite part: In this fourth part, I discuss using custom classes.

As usual, I'd like to recommend that you read the previous parts in this
series, if you haven't already, before proceeding.

Not Only Read-Only

To start, let's clarify one thing. When I recently spoke at a conference
about data containers, I was asked afterward whether using custom classes was
just for read-only data. This misunderstanding might have arisen because
I'm discussing performance tests for fetching collections of data, and that
is all I measure. Of course, the whole data container discussion is about
updateable data, too.