Class TSQLTransaction
Unit
Declaration
type TSQLTransaction = class(TmDBTransaction)
Description
This item has no description.
Hierarchy
- TObject
- tpersistent
- tcomponent
- tmdbtransaction
- TSQLTransaction
Overview
Fields
| Protected | fsavepointlevel: integer; |
Methods
| Protected | procedure CloseTrans; override; |
| Protected | function GetHandle: Pointer; virtual; |
| Protected | Procedure SetDatabase(Value : tmdatabase); override; |
| Protected | procedure disconnect(const sender: itransactionclient; const auxclients: integer); |
| Protected | procedure finalizetransaction; override; |
| Protected | procedure doendtransaction(const aaction: tcommitrollbackaction); |
| Protected | procedure dobeforestop; |
| Protected | procedure doafterstop; |
| Protected | procedure checkpendingaction; |
| Protected | procedure savepointevent(const akind: savepointeventkindty; const alevel: integer); |
| Protected | procedure execerror(); |
| Public | constructor Create(AOwner : TComponent); override; |
| Public | destructor Destroy; override; |
| Public | procedure refresh(aaction: tcommitrollbackaction = canone); |
| Public | function Commit(const checksavepoint: boolean = true): boolean; virtual; |
| Public | function CommitRetaining(const checksavepoint: boolean = true): boolean; virtual; |
| Public | procedure Rollback; virtual; |
| Public | procedure RollbackRetaining; virtual; |
| Public | procedure StartTransaction; override; |
| Public | procedure EndTransaction; override; |
| Public | function savepointbegin: integer; |
| Public | procedure savepointrollback(alevel: integer = -1); |
| Public | procedure savepointrelease; |
Properties
| Public | property Handle: Pointer read GetHandle; |
| Public | property savepointlevel: integer read fsavepointlevel; |
| Public | property trans: tsqlhandle read ftrans; |
| Public | property pendingaction: tcommitrollbackaction read fpendingaction
write setpendingaction; |
| Public | property pendingrefresh: boolean read fpendingrefresh
write fpendingrefresh; |
| Published | property options: transactionoptionsty read foptions write foptions default []; |
| Published | property Action : TCommitRollbackAction read FAction write FAction default canone; |
| Published | property Database: tcustomsqlconnection read getdatabase write setdatabase1; |
| Published | property Params : TStringList read FParams write setparams; |
| Published | property oncommiterror: commiterroreventty read foncommiterror
write foncommiterror; |
| Published | property onbeforestart: sqltransactioneventty read fonbeforestart
write fonbeforestart; |
| Published | property onafterstart: sqltransactioneventty read fonafterstart
write fonafterstart; |
| Published | property onbeforestop: sqltransactioneventty read fonbeforestop
write fonbeforestop; |
| Published | property onafterstop: sqltransactioneventty read fonafterstop
write fonafterstop; |
| Published | property onbeforecommit: sqltransactioneventty read fonbeforecommit
write fonbeforecommit; |
| Published | property onaftercommit: sqltransactioneventty read fonaftercommit
write fonaftercommit; |
| Published | property onbeforecommitretaining: sqltransactioneventty
read fonbeforecommitretaining write fonbeforecommitretaining; |
| Published | property onaftercommitretaining: sqltransactioneventty
read fonaftercommitretaining write fonaftercommitretaining; |
| Published | property onbeforerollback: sqltransactioneventty read fonbeforerollback
write fonbeforerollback; |
| Published | property onafterrollback: sqltransactioneventty read fonafterrollback
write fonafterrollback; |
| Published | property onbeforerollbackretaining: sqltransactioneventty
read fonbeforerollbackretaining
write fonbeforerollbackretaining; |
| Published | property onafterrollbackretaining: sqltransactioneventty
read fonafterrollbackretaining
write fonafterrollbackretaining; |
Description
Fields
| Protected | fsavepointlevel: integer; |
|
This item has no description. | |
Methods
| Protected | procedure CloseTrans; override; |
|
This item has no description. | |
| Protected | function GetHandle: Pointer; virtual; |
|
This item has no description. | |
| Protected | Procedure SetDatabase(Value : tmdatabase); override; |
|
This item has no description. | |
| Protected | procedure disconnect(const sender: itransactionclient; const auxclients: integer); |
|
This item has no description. | |
| Protected | procedure finalizetransaction; override; |
|
This item has no description. | |
| Protected | procedure doendtransaction(const aaction: tcommitrollbackaction); |
|
This item has no description. | |
| Protected | procedure dobeforestop; |
|
This item has no description. | |
| Protected | procedure doafterstop; |
|
This item has no description. | |
| Protected | procedure checkpendingaction; |
|
This item has no description. | |
| Protected | procedure savepointevent(const akind: savepointeventkindty; const alevel: integer); |
|
This item has no description. | |
| Protected | procedure execerror(); |
|
This item has no description. | |
| Public | constructor Create(AOwner : TComponent); override; |
|
This item has no description. | |
| Public | destructor Destroy; override; |
|
This item has no description. | |
| Public | procedure refresh(aaction: tcommitrollbackaction = canone); |
|
This item has no description. | |
| Public | function Commit(const checksavepoint: boolean = true): boolean; virtual; |
|
This item has no description. | |
| Public | function CommitRetaining(const checksavepoint: boolean = true): boolean; virtual; |
|
This item has no description. | |
| Public | procedure Rollback; virtual; |
|
This item has no description. | |
| Public | procedure RollbackRetaining; virtual; |
|
This item has no description. | |
| Public | procedure StartTransaction; override; |
|
This item has no description. | |
| Public | procedure EndTransaction; override; |
|
This item has no description. | |
| Public | function savepointbegin: integer; |
|
This item has no description. | |
| Public | procedure savepointrollback(alevel: integer = -1); |
|
This item has no description. | |
| Public | procedure savepointrelease; |
|
This item has no description. | |
Properties
| Public | property Handle: Pointer read GetHandle; |
|
This item has no description. | |
| Public | property savepointlevel: integer read fsavepointlevel; |
|
This item has no description. | |
| Public | property trans: tsqlhandle read ftrans; |
|
This item has no description. | |
| Public | property pendingaction: tcommitrollbackaction read fpendingaction
write setpendingaction; |
|
This item has no description. | |
| Public | property pendingrefresh: boolean read fpendingrefresh
write fpendingrefresh; |
|
This item has no description. | |
| Published | property options: transactionoptionsty read foptions write foptions default []; |
|
This item has no description. | |
| Published | property Action : TCommitRollbackAction read FAction write FAction default canone; |
|
This item has no description. | |
| Published | property Database: tcustomsqlconnection read getdatabase write setdatabase1; |
|
This item has no description. | |
| Published | property Params : TStringList read FParams write setparams; |
|
This item has no description. | |
| Published | property oncommiterror: commiterroreventty read foncommiterror
write foncommiterror; |
|
This item has no description. | |
| Published | property onbeforestart: sqltransactioneventty read fonbeforestart
write fonbeforestart; |
|
This item has no description. | |
| Published | property onafterstart: sqltransactioneventty read fonafterstart
write fonafterstart; |
|
This item has no description. | |
| Published | property onbeforestop: sqltransactioneventty read fonbeforestop
write fonbeforestop; |
|
This item has no description. | |
| Published | property onafterstop: sqltransactioneventty read fonafterstop
write fonafterstop; |
|
This item has no description. | |
| Published | property onbeforecommit: sqltransactioneventty read fonbeforecommit
write fonbeforecommit; |
|
This item has no description. | |
| Published | property onaftercommit: sqltransactioneventty read fonaftercommit
write fonaftercommit; |
|
This item has no description. | |
| Published | property onbeforecommitretaining: sqltransactioneventty
read fonbeforecommitretaining write fonbeforecommitretaining; |
|
This item has no description. | |
| Published | property onaftercommitretaining: sqltransactioneventty
read fonaftercommitretaining write fonaftercommitretaining; |
|
This item has no description. | |
| Published | property onbeforerollback: sqltransactioneventty read fonbeforerollback
write fonbeforerollback; |
|
This item has no description. | |
| Published | property onafterrollback: sqltransactioneventty read fonafterrollback
write fonafterrollback; |
|
This item has no description. | |
| Published | property onbeforerollbackretaining: sqltransactioneventty
read fonbeforerollbackretaining
write fonbeforerollbackretaining; |
|
This item has no description. | |
| Published | property onafterrollbackretaining: sqltransactioneventty
read fonafterrollbackretaining
write fonafterrollbackretaining; |
|
This item has no description. | |
Generated by PasDoc 0.17.0.snapshot.