Understanding Datasets
Go Up to Developer's Guide
In Delphi, the fundamental unit for accessing data is the dataset family of objects. Your application uses datasets for all database access. Generally, a dataset object represents a specific table belonging to a database, or it represents a query or stored procedure that accesses a database.
All dataset objects that you will use in your database applications descend from the virtualized dataset object, TDataSet
, and they inherit data fields, properties, events, and methods from TDataSet
. This chapter describes the functionality of TDataSet
that is inherited by the dataset objects you will use in your database applications. You need to understand this shared functionality to use any dataset object.
The following figure illustrates the hierarchical relationship of all the dataset components:
Topics
- What is TDataSet?
- Opening and Closing Datasets
- Determining and Setting Dataset States
- Navigating Datasets
- Searching Datasets
- Modifying Dataset Data
- Using Dataset Events
- Using Dataset Cached Updates