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 ...

Get Essential ADO.NET 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.