[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Encapsulate a transaction
Source position: db.pas line 1955
type TDBTransaction = class(TComponent) |
||
public |
||
constructor Create(); override; |
|
Transaction property |
destructor Destroy; override; |
|
Remove a TDBTransaction instance from memory. |
procedure CloseDataSets; |
|
Close all connected datasets |
|
Database this transaction is connected to |
|
published |
||
property Active: Boolean; [rw] |
|
Is the transaction active or not |
end; |
|
Encapsulate a transaction |
|
| | ||
| | ||
| | ||
TObject |
TDBTransaction encapsulates a SQL transaction. It is an abstract class, and should be used by component creators that wish to encapsulate transactions in a class. The TDBTransaction class offers functionality to refer to a TDatabase instance, and to keep track of TDataset instances which are connected to the transaction.
|
Base class for connecting a FreePascal application to an external Database engine |
|
|
Base class for records-based data-access |