Working with DataSets

The DataSet is an in-memory representation of data structured in the form of tables, relationships, and constraints such as unique and foreign keys.

The DataSet is disconnected from the data source. It typically gets its data from the DataAdapter and never communicates directly with a Connection. When manipulating data in the DataSet, it maintains versions of each row changed. This enables changes to either be stored back to the data source through a DataAdapter or cancelled. DataSets are not provider specific. They are capable of retrieving and storing data through any provider specific DataAdapter.

You will work with two types of DataSets—untyped and strongly typed. An untyped DataSet refers to the base class, DataSet ...

Get Delphi for .NET Developer’s Guide 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.