FoxDataObjects

Object-Relational Mapping Tool for Visual FoxPro®

 DefaultDataSource   Property

 

 

Points to a datasource object that can be used as data source for new session objects when no one is passed to the NewSession method as a parameter.

 Server.DefaultDatasource [=oDataSource]

 

Property Values

 

Object pointer

Remarks

  FoxDataObjects connects to data stores by following all directives stored on a datasource object. A datasource object can be viewed just as a wrapper around an ODBC driver or a Native Visual FoxPro Database container location. The Session.Connect method relies on a datasource object to get all the information on how to connect and what to do after a connection has been established. When no other information is provided, the Session.Connect method can use the datasource object pointed by the Server.DefaultDataSource property. For a complete description please refer to the Session.Connect object page or the Datasource class section.

 

See Also

Server.NewSession method | Session.Connect method | DataSource class

Applies to: Server object

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