DataAdapters

The DataAdapter class is a bridge between the data source and the disconnected objects that allow you to manipulate data. DataAdapters retrieve information from the data store and populate disconnected DataSets with that data. Also, DataAdapters store any updates, which are cached back to the data store. The DataAdapter class implements the IDBDataAdapter interface. Like other database classes, each data provider contains its own DataAdapter class. Therefore, the SQL Data Provider uses a SQLDataAdapter, and the Borland Data Provider uses a BDPDataAdapter. Each data provider’s specific DataAdapter descends from the DBDataAdapter class, which descends from the DataAdapter class. This chapter demonstrates the use of the SQLDataAdapter ...

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.