ObjectExtender User's Guide and Reference
The Map Browser is described below.

The Map Browser presents several views:
- Datastore Maps. Displays the names of your data store
maps.
- Persistent Classes. Displays the names of your model
classes which you will map to database tables.
- Table Maps. Displays the names of the table maps.
These are the maps between your persistent classes and database tables.
- Property Maps. Displays the name of the property maps
that are defined for each table map. The property maps included are the
class attribute to database column mappings as well as class relationship to
table relationship (connection) mappings.
- Information. This view is not labeled as such, but it is
a read-only view that provides descriptive information in a given
context. For example, if you select a map it will provide certain
statistics about the map.
In the Map Browser, you describe the mapping of each persistent
class. A map is required for each persistent model class.
For each attribute, you specify the columns which should be read to
populate that instance variable.
For each relationship, you specify the foreign key relationship which is
its persistent representation.
The first step in defining the mapping for a class if to define a table map
to contain the column and relationship maps. A class must have at least
one table map specifying the table to which the class will be mapped.
Table maps contain attribute and relationship maps which refer to columns and
keys within the mapped table.
Mapping rules allow fields that have field lengths to be mapped together as
well as fields of different data types.
[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]