FireDAC.Comp.Client.TFDTable.LocalSQL
Delphi
property LocalSQL;
C++
__property LocalSQL;
Contents
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | FireDAC.Comp.Client.pas FireDAC.Comp.Client.hpp |
FireDAC.Comp.Client | TFDTable |
Description
The reference to a Local SQL engine.
FireDAC.Comp.Client.TFDTable.LocalSQL inherits from FireDAC.Comp.Client.TFDAdaptedDataSet.LocalSQL. All content below this line refers to FireDAC.Comp.Client.TFDAdaptedDataSet.LocalSQL.
The reference to a Local SQL engine.
Use this property to get / set the reference to a Local SQL engine.
When the engine and the Local SQL connection are active, the dataset is opened (if it is not opened yet) and registered in the Local SQL engine, right after setting the LocalSQL property. Otherwise the dataset is registered when the engine and the connection become active. The TFDMemTable structure must be defined before being opened.
The dataset is registered using its Name property value. So, its Name property value must not be empty and unique across all datasets linked to the same Local SQL engine.
Setting this property to nil unregisters this dataset from the Local SQL engine.