Data.SqlExpr.TCustomSQLDataSet.InternalConnection

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property InternalConnection: TSqlConnection read GetInternalConnection;

C++

__property TSQLConnection* InternalConnection = {read=GetInternalConnection};

Properties

Type Visibility Source Unit Parent
property protected
Data.SqlExpr.pas
Data.SqlExpr.hpp
Data.SqlExpr TCustomSQLDataSet

Description

Indicates the component that connects the dataset to its database server, taking into account whether the connection was cloned.

Applications can't use this protected property. Instead, SQL datasets use InternalConnection internally when they need to access the dbExpress interfaces for the connection to the database server. Unlike the published SQLConnection property, InternalConnection handles the case when the dataset must use a clone of the primary connection because the server limits the number of active statements that the connection supports.

It is not necessary to use InternalConnection except when using the connection component to reference its dbExpress interfaces.

See Also