The addExclusiveRelationSet element allows a new exclusive relation set to be added to the schema.
Example:
<addExclusiveRelationSet name="my_relation_set_name" table="site" tableIdColumn="type" keyColumn="objid" />
<addRelation name="employee2state" type="OneToMany" table="employee" inverseRelationName="state2employee" inverseTable="state_prov">
<exclusiveRelationSet>my_relation_set_name</exclusiveRelationSet>
</addRelation>
Required Attributes:
Attribute Name |
Description |
---|---|
name |
The name of the exclusive set. This allows for multiple exclusive relation sets on a single table. |
table |
The name of the table on which the exclusive relation set exists on, and on which the physical columns exist. |
tableIdColumn |
The name of the column on the toSideTable table that stores the table ID of the related data. |
keyColumn |
The name of the column on the toSideTable table that stores the foreign key(the objid) of the related data. |
Optional Child Elements:
None
See Also |
Next |