Class TProcessSQLCommandThread
Unit
Declaration
type TProcessSQLCommandThread = class(TCrossThread)
Description
: Asynchronous SQL command execution queue.
Hierarchy
- TThread
- TCrossThread
- TProcessSQLCommandThread
Overview
Methods
procedure ReturnStatementsResults; |
|
constructor Create(CreateSuspended: Boolean; ExecSQLProc:TExecSQLProc; StartTransactionProc:TStartTransaction; CommitTransactionProc:TCommitTransaction; RollbackTransactionProc:TRollbackTransaction); |
|
function WaitEnd(Timeout:Cardinal):TWaitResult; |
|
procedure ExecSQLWithoutResultSet(sql:String; ReturnSync:Boolean=true); |
|
procedure ExecSQLWithResultSet(sql:String; ReturnDataCallback:TReturnDataSetProc; ReturnSync:Boolean=true); |
|
procedure ExecTransaction(aStatements:THMIDBConnectionStatementList; ReturnTransactionResult:TReturnTransactionStatementsProc; FreeStatemensAfterExecute:Boolean; ReturnSync:Boolean=true); |
Description
Methods
procedure ReturnStatementsResults; |
|
constructor Create(CreateSuspended: Boolean; ExecSQLProc:TExecSQLProc; StartTransactionProc:TStartTransaction; CommitTransactionProc:TCommitTransaction; RollbackTransactionProc:TRollbackTransaction); |
|
: Creates the assynchronous queue.
Parameters
|
procedure ExecSQLWithoutResultSet(sql:String; ReturnSync:Boolean=true); |
|
: Executes a SQL query without return a Dataset. Parameters
|
procedure ExecSQLWithResultSet(sql:String; ReturnDataCallback:TReturnDataSetProc; ReturnSync:Boolean=true); |
|
: Executes a SQL query, returning a Dataset. Parameters
|
procedure ExecTransaction(aStatements:THMIDBConnectionStatementList; ReturnTransactionResult:TReturnTransactionStatementsProc; FreeStatemensAfterExecute:Boolean; ReturnSync:Boolean=true); |
|
Author
- Fabio Luis Girardi <[email protected]>
Generated by PasDoc 0.14.0.