Delphi Database, Delphi Components from ComponentAce
Products Download Order Contact us
TABSSession.Create
TABSSession
Top 


Creates an instance of a TABSSession component.

constructor Create(AOwner: TComponent);

Description

Do not call Create directly. The default session component, Session, is created automatically for all database applications. To create additional sessions for a multi-threaded database application at runtime call Sessions.OpenSession instead of Create. OpenSession calls Create only if the session does not already exist. (At design time, create additional sessions by dropping them on a data module.)

Create calls its inherited constructor and ensures that the session component cannot be inherited should the data module or form on which it is placed be stored in the Object Repository. Create also:
·Creates an empty list of database components for the session.  
·Sets the KeepConnections property to True.  
·Adds the session to the session list.  
        © 2003 - 2024 ComponentAce  | .net zip component | barcode for .net | delphi zip component | delphi database Mar 29, 2024