In Brief

  • The DataSet plays a central role in ADO.NET on the .NET Compact Framework. It is an in-memory cache of relational data.

  • Internally, the DataSet holds collections of DataTables, DataRows, and DataColumns to store relational data. To directly access or alter the relational data in a DataSet, developers must use these collections.

  • The UniqueConstraint class lets the DataSet automatically enforce uniqueness among the columns in a DataTable.

  • Columns can be set to be automatically incremented when a new row is added to a DataTable.

  • Column values can be automatically computed by using an Expression.

  • The DataRelation class is used to express parent-child relationships between two DataTables.

  • The ForeignKeyConstraint can be used to enforce a foreign ...

Get Microsoft® .NET Compact Framework Kick Start 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.