FireDAC.Comp.Client.TFDAdaptedDataSet.LocalSQL
Delphi
property LocalSQL: TFDCustomLocalSQL read FLocalSQL write SetLocalSQL;
C++
__property TFDCustomLocalSQL* LocalSQL = {read=FLocalSQL, write=SetLocalSQL};
Contents
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | FireDAC.Comp.Client.pas FireDAC.Comp.Client.hpp |
FireDAC.Comp.Client | TFDAdaptedDataSet |
Description
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.