Properties can be mapped on a single column as well as on several columns. In the 2nd case a special column processor should be defined.
To map a property it is necessary to do the following:
Note: The scope of tables available for a property mapping is restricted by the tables associated with the class (see Class Tables).
The creation of a multi-column mapping is performed in same dialog box. Let's modify the "COMMENT" property and make it multi-column:
Defining your own processor requires similar actions as for defining primary key generators (see Primary Keys Generators), i.e. implement interface defined in Bentley.EC.SQLAdapter.dll assembly:Bentley.EC.SQLAdapter.ITableColumnProcessorAn Assembly with a class implementing the interface should be placed in to the same folder as Bentley.EC.SQLAdapter.dll. Usually this is the "Extensions" folder of the installation folder
Note: in the same manner it is possible to map custom processers for InstanceID, Name and Label. The Extension interface is identical.
⇐Back to Plant Project Database - Relationship Mapping
⇑Main OPPID - How to use the Class Editor Mapping Extension for the Plant Project Database