System
The system section holds basic information about the system, property options and the schemas. In most cases you will define the connection string and data store for the whole system in this area. The other schemas and properties will inherit these settings.
The CompileStatusType shows the result of the last compile attempt. It can also be set to Pending to force a recompile when the system is loaded.
| Name | string | X | empty | Name of the system. |
| Description | string | | empty | Short description of the system. |
| DataConnectionKey | string | X |
empty | Key in the web.config with the data connection string. |
| DataStore | DataStoreType | X |
UnSet | Type of storage for this system. |
| CompileStatus | CompileStatusType | X | Success | Current system compilation result. |
Option collections are a list of valid selections that are avalible for a property. The following code shows an example of a option collection for valid prefixes. An option collection is defined by giving it a name and then defining the text and value for each option. The text will be displayed on the user interface and the value is what is stored in the database.
These options can be tied to a property by setting the ForeignType to 'OptionCollection', the ForeignLoadMethod to 'TurnSystem' and the ForeignLoadFilterValue to the name of the set of options. The DataType of the property is set to the datatype that will be stored for the option's value.
© 2008 TurnObjects All rights reserved. Legal | Privacy
|