Class TCustomConnectionUDB

Unit

Declaration

type TCustomConnectionUDB = class(TADOConnection, TZConnection, TSQLConnection, TIBDataBase, TpFIBDatabase, TFDConnection)

Description

TCustomConnectionUDB - descendant of TADOConnection/TZConnection/TSQLConnection/TIBDataBase/TpFIBDatabase which provides same functions for all connection types

Hierarchy

  • TADOConnection
  • TCustomConnectionUDB

Overview

Methods

Protected procedure DoConnect; override;
Public function GetDatabaseName: string;
Public procedure CallProcForRegisteredDataset(CallBackProc: TNotifyEvent);
Public procedure Open;
Public procedure Close;

Properties

Published property ConnectionStringDesign: string read FConnectionStringDesign write FConnectionStringDesign;
Published property ReadOnly: boolean read FReadOnly write SetReadOnly default false;
Published property HostName: string read GetHostName stored false;
Published property RegisteredDatasets: TList read FDataSets;

Description

Methods

Protected procedure DoConnect; override;
 
Public function GetDatabaseName: string;

return database name

Public procedure CallProcForRegisteredDataset(CallBackProc: TNotifyEvent);

scan all registered dataset and call CallBackProc for each one

Public procedure Open;

open connection

Public procedure Close;

close connection

Properties

Published property ConnectionStringDesign: string read FConnectionStringDesign write FConnectionStringDesign;

copy of connection string in design time

Published property ReadOnly: boolean read FReadOnly write SetReadOnly default false;
 
Published property HostName: string read GetHostName stored false;
 
Published property RegisteredDatasets: TList read FDataSets;

list of registered datasets


Generated by PasDoc 0.15.0.