FoxDataObjects

Object-Relational Mapping Tool for Visual FoxPro®

 Server Object

The Server object is an object instance derived from the fdoServer class (or subclass) (see fdo.fxp class library) whose main purpose is to serve as a Session objects "Factory". The Server object is normally used to set up default information for new sessions and to call its  NewSession() method for getting connected or disconnected session objects.
The following figure shows the fdoSession class objects hierarchy:

fdoServer class objects hierarchy

 
 
Properties
 
AutoCreateSchemaFile ConnectedSessionsOnly DefaultConnectionLifeTime
DefaultConnectionMode DefaultDataSource DefaultDataSourceLookupMode
DefaultLearningMode DefaultSchemaFile Errors
LibrariesFolder IsInitializing IsOleServer
Path SessionClassName StartMode

 

Methods
 
NewDataSource NewSession SetDefaultDataSource
SetDefaultSchemaFile    

 

Events
 
AfterInit OnDestroy OnInit
OnLoad    

 

Objects
 
Errors Collection    

 

Send feedback on this topic to RunAhead Technologies

For Technical support and product issues please contact us at support@foxdataobjects.com or visit http://www.foxdataobjects.com

Copyright (c) 2000-2005 RunAhead Technologies