[Overview][Constants][Classes][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Is responsible for mapping a TtiObject to a TQuery
Source position: tiVisitorDB.pas line 108
type TtiObjectVisitor = class(TtiVisitor) end; |
protected |
function GetVisited; |
procedure SetVisited(); virtual; |
procedure LogQueryTiming(); |
property PersistenceLayer: TtiPersistenceLayer; [rw] |
property Database: TtiDatabase; [rw] |
property Query: TtiQuery; [rw] |
procedure Init; virtual; |
procedure SetupParams; virtual; |
procedure UnInit; virtual; |
procedure Final(); virtual; |
public |
constructor Create; override; |
destructor Destroy; override; |
class function VisitorControllerClass; override; |
|
Is responsible for mapping a TtiObject to a TQuery |
|
| | ||
|
The class that does the visiting |
|
| | ||
TtiBaseObject,IInterface |
||
| | ||
TObject |
TtiObjectVisitor maps a TtiObject to a TQuery, and links the TQuery to a TDatabase. Compared to TtiVisitor, TtiObjectVisitor adds an owned query object.
Note: It is not necessary to manually lock and unlock database connections from this level and below - TtiObjectVisitorController does this for you.
|
Class responsible for grabbing database from connection pool. |