FireDAC.Comp.DataSet.TFDDataSet

From RAD Studio API Documentation
Jump to: navigation, search

Data.DB.TDataSetSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObjectTFDDataSet

Delphi

TFDDataSet = class (TDataSet, IFDDataSetReference, IFDStanOptions,
IFDPhysLocalSQLAdapter, IFDDatSTableDataCallback, IDataSetCommandSupport)

C++

class PASCALIMPLEMENTATION TFDDataSet : public Data::Db::TDataSet

Properties

Type Visibility Source Unit Parent
class public
FireDAC.Comp.DataSet.pas
FireDAC.Comp.DataSet.hpp
FireDAC.Comp.DataSet FireDAC.Comp.DataSet

Description

The TFDDataSet is a direct TDataSet descendant, introducing base functionality for all FireDAC datasets.

The TFDDataSet is a direct TDataSet descendant that holds data in memory in a table-like internal data storage consisting of rows (records) and columns (fields).

TFDDatSTable is the class representing a table of records. The TFDDataSet stores all records in a single table, if it does not have nested datasets, array-type fields, and other complex-type fields. You can get reference to tables the using Table property.

TFDDatSTable can have some TFDDatSView objects, such as data views. A data view does not store records, but provides access to the TFDDatSTable records. For each view, you can define the records sort order, some record filters, and some aggregate values. TFDDataSet automatically creates data views, based on their property values and method calls, such as Indexes, a filter, FilterChanges, ranges, etc. You can get reference to the current view using the TFDDataSet.DefaultView property.

Also, TFDDatSTable has a change log. It contains a list of changed, deleted, and new record references. The list is ordered by the moment of time when a change occurs. If the record was changed twice or more, the log contains information for the last change only.

For the options description, see the FireDAC.Stan.Option description.

See Also