FoxDataObjects

Object-Relational Mapping Tool for Visual FoxPro®

 DefaultLearningMode   Property

 

 

Specifies the default value to be set on new session objects as MappingSchema.LearningMode.

 Server.DefaultLearningMode [=nValue]

 

Property Values

 

nValue

 
  The settings for the DefaultLearningMode property are:
Setting Description
0 LEARNINGMODE_DEACTIVATED Used in production mode. No parsing or object scanning.
1 LEARNINGMODE_QUIET FDO parses new classes and members, generates default mapping values and saves them to the active mapping schema file (main schema).
2 LEARNINGMODE_ASSISTED FDO parses new classes and members, generates default mapping values and shows the Schema Manager mapping tool with all the mappings for developer confirmation or intervention.

Remarks

  When the Server.NewSession method creates a session object, it initializes some object properties before attempting a connection to the specified datasource. One of the session object properties set by the Server.NewSession method at this time is the Session.MappingSchema.LearningMode.

Please refer to the Session.MappingSchema property for a detailed reference.

See Also

Server.NewSession method |  Session.MappingSchema property

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