O'Reilly logo

Essential ADO.NET by Bob Beauchemin

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

4.2. The DataSet Object Model

The object model begins with DataSet as the highest-level class and is collection-based. The DataSet hierarchy and its major collections are shown in Figure 4-1 (not all collections and classes are shown in the diagram). Here's a synopsis of the classes:

  • DataSet: High-level container class

  • InternalDataCollectionBase: Base for collection classes

  • Constraint and ConstraintCollection: Data constraints to ensure table and inter-table consistency

  • DataColumn and DataColumnCollection: Relational columns (attribute is the correct relational term, not to be confused with XML's attributes)

  • DataRelation and DataRelationCollection: Relations between two tables to ensure data consistency

  • DataRow and DataRowCollection: Relational tuples ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required