Bde.DBTables.TSessionList.CurrentSession
Delphi
property CurrentSession: TSession read GetCurrentSession write SetCurrentSession;
C++
__property TSession* CurrentSession = {read=GetCurrentSession, write=SetCurrentSession};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | Bde.DBTables.pas Bde.DBTables.hpp |
Bde.DBTables | TSessionList |
Description
Returns a pointer to the current session component
Use CurrentSession to determine or specify which session in a database application is the current session. By default the current session is a pointer to the default session component, Session, that is created automatically by the library for all database applications. Setting CurrentSession makes the specified session component the current one. While any number of sessions may be active, only one session can be current at a time.