JavaScript Editor JavaScript Editor     JavaScript Debugger

Previous Section Next Section

Main Page

Using the DataRelation Class

The DataRelation class supports data relations between data tables. Here is the inheritance hierarchy of this class:

Object
   DataRelation

You can find the more notable public properties of DataRelation objects in Table 22.35 and their more notable methods in Table 22.36. (This class has no non-inherited events.)

Table 22.35: Noteworthy public properties of DataRelation objects.

Property

Means

ChildColumns

Gets the child column objects for the relation.

ChildKeyConstraint

Gets the child key constraint for the relation.

ChildTable

Gets the child table of this relation.

DataSet

Gets the dataset the relation is contained in.

Nested

Gets/sets if relations are nested.

ParentColumns

Gets the parent column objects for the relation.

ParentKeyConstraint

Gets the constraint that ensures values in the parent column of the relation are unique.

ParentTable

Gets the parent table for the relation.

RelationName

Gets/sets the name of the relation.

Table 22.36: Noteworthy public methods of DataRelation objects.

Method

Means

ToString

Gets the relation's name, if there is one.

Previous Section Next Section




JavaScript Editor Free JavaScript Editor     JavaScript Editor