Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
DataRelation Properties

DataRelation Properties

The DataRelation type exposes the following members.

Public property ChildColumns Gets the child DataColumn objects of this relation.
Public property ChildKeyConstraint Gets the ForeignKeyConstraint for the relation.
Public property ChildTable Gets the child table of this relation.
Public property DataSet Gets the DataSet to which the DataRelation belongs.
Public property ExtendedProperties Gets the collection that stores customized properties.
Public property Nested Gets or sets a value that indicates whether DataRelation objects are nested.
Public property ParentColumns Gets an array of DataColumn objects that are the parent columns of this DataRelation.
Public property ParentKeyConstraint Gets the UniqueConstraint that guarantees that values in the parent column of a DataRelation are unique.
Public property ParentTable Gets the parent DataTable of this DataRelation.
Public property RelationName Gets or sets the name used to retrieve a DataRelation from the DataRelationCollection.

Community Additions

© 2015 Microsoft