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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access