Day 6. Building Strongly Typed DataSet Classes

Yesterday you completed a three-day, in-depth look at how a DataSet and its related classes function by examining how the DataSet tracks its changes. At this point, you should have a good understanding of how to work with a DataSet in disconnected scenarios and both its functionality and limitations.

Today's short lesson will focus on extending the base DataSet class using the inheritance features built into the common language runtime in order to create custom DataSet classes. The custom classes are easier for developers to work with because they provide a more object-oriented means to access the data in the DataSet. In addition, they reduce programming errors introduced at design time by providing ...

Get Sams Teach Yourself ADO.NET in 21 Days now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.