API:FireDAC.Comp.Client.TFDStoredProc.LocalSQL

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: property
Visibility: published
Source:
FireDAC.Comp.Client.pas
FireDAC.Comp.Client.hpp
Unit: FireDAC.Comp.Client
Parent: TFDStoredProc

Delphi

property LocalSQL;

C++

__property LocalSQL;

Description

The reference to a Local SQL engine.

FireDAC.Comp.Client.TFDStoredProc.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.

See Also

Samples