setColumns( )
- Last Updated: March 30, 2020
- 1 minute read
- OpenEdge
- Version 12.2
- Documentation
Specifies the column properties that are to
participate in primary-foreign key relationships between the parent
and child tables of this ProDataRelationMetaData object,
as specified by the overloaded methods.
Syntax
|
- parentColIdx
- Specifies the 0-based index of a single column property in the
parent
ProDataObjecttype to use as the primary key. - childColIdx
- Specifies the 0-based index of a single column property in the
child
ProDataObjecttype to use as the foreign key. - parentColIdxs
- Specifies an array of 0-based indexes to column properties in
the parent
ProDataObjecttype to use as the primary key. - childColIdxs
- Specifies an array of 0-based indexes to column properties in
the child
ProDataObjecttype to use as the foreign key.
Note
When specifying parentColIdxs and childColIdxs, the arrays must be the same length. For either overloading, the corresponding parent and child column properties must be comparable.