|
ShareConnection property
|
Top Previous Next |
|
See Also Properties Methods Events Example Unit
Applies to TMySQLDataset component
Declaration property ShareConnection: boolean;
Description If True, this dataset will share the threaded connection supplied by the TMySQLServer with the TMySQLServer and the other datasets using the same TMySQLServer. Also see: ResultType property and Options property
NOTE: Take care when doing this, as each dataset my "USE" any database and because this is persistent per threaded connection, only one database can be "USE"d at any time. If False this dataset will have it's own threaded connection to the MySQL Server supplied by the TMySQLServer, keeping all operations local to this dataset without influencing other TMySQLDatasets or the TMySQLServer.
|