Skip to main content

This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRISOpens in a new window, see the InterSystems IRIS Migration Guide and Migrating to InterSystems IRIS, both available on the WRC Distributions pageOpens in a new window (login required).

ADO.NET Classes: Part 2

The following table lists several important classes in the DataSet hierarchy and provides a brief description as well as a list of some of their important properties and methods:

Class Description Important Properties\Methods
Represents a locally cached subset of the total data stored in a data source or sources and provides a relational programming model for working with that data. Includes representations of tables, constraints, and relations between tables. A DataSet object can be filled with data from multiple data sources.
Properties include:
Represents a table of data within a DataSet. A DataTable can be created programmatically or as the result of a database query. Typically, an application accesses the data in a DataSet by iterating through the Rows collection of the appropriate DataTable.
Properties include:
  • Rows — A collection of DataRow objects.
  • Columns — A collection of DataColumn objects.
Represent the rows and columns within DataTable object.
Use the column name to access a piece of data using syntax like the following: datum = MyDataRow["ColumnName"]
Represents a relation between a pair of DataTable objects within a DataSet. Possible relations include one-to-many and parent-child.
Add a DataRelation object to a DataSet Relations collection using the collection's Add method.
FeedbackOpens in a new window