SimpleDS.TSimpleDataSet.Connection
Delphi
property Connection: TSQLConnection read FConnection write SetConnection;
C++
__property Data::Sqlexpr::TSQLConnection* Connection = {read=FConnection, write=SetConnection};
Properties
| Type | Visibility | Source | Unit | Parent | 
|---|---|---|---|---|
| property | published | SimpleDS.pas SimpleDS.hpp  | 
        SimpleDS | TSimpleDataSet | 
Description
Identifies the TSQLConnection component that connects the dataset to a database server.
Use Connection to specify the component that connects this dataset to a database server. TSimpleDataSet can use either an external TSQLConnection component or, if you set the ConnectionName property instead, an internally-created component. By using an external TSQLConnection component, you can let multiple datasets share a single database connection.