User Tools

Site Tools


api:dk11:delphi:gissharedconnections.tgis_sharedconnections

Table of Contents

TGIS_SharedConnections class

DK11 for Delphi | GisSharedConnections.TGIS_SharedConnections | Classes | Methods

Class for internal use only.

Available also on: .NET | Java.

Syntax

// Delphi
type
  TGIS_SharedConnections = class( TGIS_ObjectList )
  end;
// C++ Builder
class PASCALIMPLEMENTATION TGIS_SharedConnections : public TGIS_ObjectList
{
};

Inheritance

→ TObjectList → TGIS_ObjectList

Methods

Inherited Overrides Protected
Name Visibility Description
Assign public Assign a list.
(Inherited from TGIS_ObjectList)
CloseADO public Close ADO connection.
CloseAny public Close any connection.
CloseDBX public Close DBX connection.
OpenADO public Open ADO connection.
OpenAny public Open any connection.
OpenDBX public Open DBX connection.
Sort public Sort a list.
(Inherited from TGIS_ObjectList)

Remarks

Used to provide a shared connection pool for ADO and DBX connections.

  • To force establishing new connection instead of shared one, ForceNewConnection parameter of a connect string must be set to True. This can solve problems of providers like LibPQ when being used in multi threaded application.

2020/05/07 01:10

Page Tools