Home > Articles > Programming > Windows Programming

Choosing Data Containers for .NET: Part 4

  • Print
  • + Share This
In his continuing quest to find the best data container, Jimmy Nilsson puts custom classes to the test.
Like this article? We recommend

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.

With that out of the way, let's focus on our current topic.

  • + Share This
  • 🔖 Save To Your Account