Creates a relation to another table.
VB6 Copy Code |
---|
Public Function AddRelation( _ |
C++ Copy Code |
---|
public: |
A member of the ERelationship enumeration specifying the type of the relation - either rlOneToMany or rlManyToOne.
The other table in the relation.
The index of the destination row in pTable.
A reference to an arrow object; this is the arrow representing the relationship between two tables.
Creates an arrow, connecting a row of the table-object passed as argument (pTable) to a row of the table-object on which the method is called. These rows could visually represent table fields in entity-relationship diagrams. The direction of the arrow depends on the rel argument, which can be one of these:
You can create many arrows connected to a single row of table.