DataRelation Object

The DataRelation Object is used to create and maintain relationships between data in a DataSet (see Tables C.10 and C.11).

Table C.10. Properties of the DataRelation Object
Property Description
ChildColumns Returns a collection of child DataColumns in the DataRelation.
ChildKeyConstraint Returns a foreign key constraint of the DataRelation.
ChildTable Returns a DataTable for the child of the DataRelation.
DataSet Returns the DataSet to which the DataRelation belongs.
ExtendedProperties Gets or sets Extended properties for the DataRelation. These are developer-provided properties that are created at runtime.
Nested Gets or sets a value defining whether the DataRelation is nested.
ParentColumns Returns a collection of parent ...

Get Inside ASP.NET now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.