ObjectManager class manages DataObject as well as provides functions of caching and transaction management at the same time as follows:
|
method |
description |
|
Transaction management |
|
|
public procedure BeginTransaction; |
Begin transaction |
|
public procedure Rollback; |
Rollback transaction |
|
Public procedure Commit |
Commit transaction |
|
Object
search |
|
|
public function GetObject(...): TDataObjectBase; |
Get a single object |
|
public function GetObjectSet(...): TObjectSet; |
Get object-set |
|
public function GetObjectReader(...): TObjectReaderBase; |
Get object reader |
|
Command
performance |
|
|
public procedure UpdateMatch(...); |
Update in batches |
|
public procedure DeleteMatch(...); |
Delete in batches |
|
public procedure ExecuteCommand(...); |
Perform OQL and
SQL |
|
Caching
management |
|
|
public procedure ClearCache(...); |
Clear cache |
|
Other
function |
|
|
public function OqlToSqlString(...): string; |
OQL switch to SQL |
Related Topics