Class THMIDBConnection
Unit
Declaration
type THMIDBConnection = class(TComponent, IHMIDBConnection)
Description
THMIDBConnection
Hierarchy
- TComponent
- THMIDBConnection
Overview
Fields
![]() |
FProtocol: string; |
![]() |
FHostName: string; |
![]() |
FPort: LongInt; |
![]() |
FDatabase: string; |
![]() |
FUser: string; |
![]() |
FPassword: string; |
![]() |
FCatalog: string; |
![]() |
FProperties:TStringList; |
Methods
![]() |
procedure Loaded; override; |
![]() |
function GetConnected:Boolean; |
![]() |
procedure SetConnected(x:Boolean); |
![]() |
procedure SetProtocol(x: String); |
![]() |
procedure SetHostName(x: String); |
![]() |
procedure SetPort(x: LongInt); |
![]() |
procedure SetDatabase(x: String); |
![]() |
procedure SetUser(x: String); |
![]() |
procedure SetPassword(x: String); |
![]() |
procedure SetCatalog(x: String); |
![]() |
procedure StartTransaction; |
![]() |
procedure CommitTransaction; |
![]() |
procedure RollBackTransaction; |
![]() |
constructor Create(AOwner: TComponent); override; |
![]() |
destructor Destroy; override; |
![]() |
procedure ExecSQL(sql:String; ReturnDatasetCallback:TReturnDataSetProc; ReturnSync:Boolean=true); |
![]() |
procedure ExecTransaction(statements:THMIDBConnectionStatementList; ReturnTransactionResult:TReturnTransactionStatementsProc; FreeStatemensAfterExecute:Boolean; ReturnSync:Boolean=true); |
Properties
![]() |
property Connected: Boolean read GetConnected write SetConnected; |
![]() |
property LibraryLocation: String read FLibraryLocation write SetLibraryLocation nodefault; |
![]() |
property Protocol: string read FProtocol write SetProtocol; |
![]() |
property HostName: string read FHostName write SetHostName; |
![]() |
property Port: LongInt read FPort write SetPort default 0; |
![]() |
property Properties: TStrings read getProperties write SetProperties; |
![]() |
property Database: string read FDatabase write SetDatabase; |
![]() |
property User: string read FUser write SetUser; |
![]() |
property Password: string read FPassword write SetPassword; |
![]() |
property Catalog: string read FCatalog write SetCatalog; |
![]() |
property ReadOnly: Boolean read FReadOnly write SetReadOnly; |
Description
Fields
![]() |
FProtocol: string; |
![]() |
FHostName: string; |
![]() |
FPort: LongInt; |
![]() |
FDatabase: string; |
![]() |
FUser: string; |
![]() |
FPassword: string; |
![]() |
FCatalog: string; |
![]() |
FProperties:TStringList; |
Methods
![]() |
procedure Loaded; override; |
![]() |
function GetConnected:Boolean; |
![]() |
procedure SetConnected(x:Boolean); |
![]() |
procedure SetProtocol(x: String); |
![]() |
procedure SetHostName(x: String); |
![]() |
procedure SetPort(x: LongInt); |
![]() |
procedure SetDatabase(x: String); |
![]() |
procedure SetUser(x: String); |
![]() |
procedure SetPassword(x: String); |
![]() |
procedure SetCatalog(x: String); |
![]() |
procedure StartTransaction; |
![]() |
procedure CommitTransaction; |
![]() |
procedure RollBackTransaction; |
![]() |
constructor Create(AOwner: TComponent); override; |
![]() |
destructor Destroy; override; |
![]() |
procedure ExecSQL(sql:String; ReturnDatasetCallback:TReturnDataSetProc; ReturnSync:Boolean=true); |
![]() |
procedure ExecTransaction(statements:THMIDBConnectionStatementList; ReturnTransactionResult:TReturnTransactionStatementsProc; FreeStatemensAfterExecute:Boolean; ReturnSync:Boolean=true); |
Properties
![]() |
property Connected: Boolean read GetConnected write SetConnected; |
: If true, connects or are connected on database. |
![]() |
property LibraryLocation: String read FLibraryLocation write SetLibraryLocation nodefault; |
: If true, connects or are connected on database. |
![]() |
property Protocol: string read FProtocol write SetProtocol; |
: Database protocol driver used to connect on database. |
![]() |
property HostName: string read FHostName write SetHostName; |
: Address or machine name where is the database. |
![]() |
property Port: LongInt read FPort write SetPort default 0; |
: Port number to connect on database (TCP/UDP connections) |
![]() |
property Properties: TStrings read getProperties write SetProperties; |
: Connections properties. |
![]() |
property Database: string read FDatabase write SetDatabase; |
: Database name. |
![]() |
property User: string read FUser write SetUser; |
: Username to connect on database. |
![]() |
property Password: string read FPassword write SetPassword; |
: Password of the user to connect on database. |
![]() |
property Catalog: string read FCatalog write SetCatalog; |
: See the documentation of TZConnection.Catalog of ZeosLib for more information. |
![]() |
property ReadOnly: Boolean read FReadOnly write SetReadOnly; |
: See the documentation of TZConnection.ReadOnly of ZeosLib for more information. |
Generated by PasDoc 0.14.0.