pascalSCADA OPM: HMIDBConnection

Pascal SCADA OPM

Unit HMIDBConnection

Description

: Unit that implements a class to connnect on many database servers.

Overview

Classes, Interfaces, Objects and Records

Name Description
Class THMIDBDatabasePropertyEditor  
Class THMIDBCatalogPropertyEditor  
Class THMIDBProtocolPropertyEditor  
Interface IHMIDBConnection  
Record TSQLCmdRec  
Record TStatementCmdRec  
Class TProcessSQLCommandThread  
Class THMIDBConnection  

Types

THMIDBConnectionStatementList = specialize TFPGList<UTF8String>;
TExecSQLProc = procedure(sqlcmd:Utf8String; outputdataset:TFPSBufDataSet; out Error:Boolean) of object;
TStartTransaction = procedure of object;
TCommitTransaction = procedure of object;
TRollbackTransaction = procedure of object;
TReturnDataSetProc = procedure(Sender:TObject; DS:TFPSBufDataSet; error:Exception) of object;
TReturnTransactionStatementsProc = procedure(Sender:TObject; aStatements:THMIDBConnectionStatementList; Sucess:Boolean; LineOfError:Integer; Error:Exception) of object;
PSQLCmdRec = ˆTSQLCmdRec;
PStatementCmdRec = ˆTStatementCmdRec;

Constants

SQLCommandMSG = 0;
StatementsCommandMSG = 1;

Description

Types

THMIDBConnectionStatementList = specialize TFPGList<UTF8String>;
 
TExecSQLProc = procedure(sqlcmd:Utf8String; outputdataset:TFPSBufDataSet; out Error:Boolean) of object;

: Procedure called by thread to execute the query.

TStartTransaction = procedure of object;
 
TCommitTransaction = procedure of object;
 
TRollbackTransaction = procedure of object;
 
TReturnDataSetProc = procedure(Sender:TObject; DS:TFPSBufDataSet; error:Exception) of object;

: Procedure called by thread to return the dataset after the query execution.

TReturnTransactionStatementsProc = procedure(Sender:TObject; aStatements:THMIDBConnectionStatementList; Sucess:Boolean; LineOfError:Integer; Error:Exception) of object;
 
PSQLCmdRec = ˆTSQLCmdRec;

: Pointer of a SQL command message.

See also
TProcessSQLCommandThread.ExecSQLWithoutResultSet
TProcessSQLCommandThread.ExecSQLWithResultSet
PStatementCmdRec = ˆTStatementCmdRec;
 

Constants

SQLCommandMSG = 0;
 
StatementsCommandMSG = 1;
 

Author


Generated by PasDoc 0.14.0.