FireDAC.Comp.Client.TFDLocalSQLDataSet.DataSet
Delphi
property DataSet: TDataSet read FDataSet write SetDataSet;
C++
__property Data::Db::TDataSet* DataSet = {read=FDataSet, write=SetDataSet};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | FireDAC.Comp.Client.pas FireDAC.Comp.Client.hpp |
FireDAC.Comp.Client | TFDLocalSQLDataSet |
Description
Specifies a dataset reference for the Local SQL engine.
Use DataSet property to set a reference to a dataset and register it with the Local SQL engine.
The dataset may be any TDataSet descendant. For non-FireDAC datasets, it is recommended to set the Adapter property also. If Name property value is specified, then it is used as the dataset name. Otherwise, Name is used.
When the dataset is specified and the Local SQL engine is activated, FireDAC opens the dataset, if it is closed. For in-memory datasets this means that their structure must be defined before activating the Local SQL engine or setting DataSet property.