toSide

XML format for the toSide object

The toSide element is a child of the relation object.

<relation type="OneToMany">
   <fromSide table="site" name="cust_loc2case" >
      <description><![CDATA[Cases reported from the site ]]></description>
   </fromSide>
   <toSide table="case" name="case_reporter2site" >     
      <description><![CDATA[Reporting customer site ]]></description>
   </toSide>
</relation>

Attribute Name

Required

default

Description

name

Yes

 

Specifies the name of the relation.

table

Yes

 

The name of the table to which this relation belongs to.
Note that this table is where the actual column will be created on for OneToOne and OneToMany relations.

description

No

 

Description of the relation and its purpose.

isRequired

No

false

Indicates if this relation is required or not.

order

No

 

Order of the relation within its parent table.

See Also

relation

fromSide

Next

view

toSide