This documentation is archived and is not being maintained.
.NET Framework 2.0
Represents a parent/child relationship between two DataTable objects.
The following tables list the members exposed by the DataRelation type.
|ChildColumns||Gets the child DataColumn objects of this relation.|
|ChildKeyConstraint||Gets the ForeignKeyConstraint for the relation.|
|ChildTable||Gets the child table of this relation.|
|DataSet||Gets the DataSet to which the DataRelation belongs.|
|ExtendedProperties||Gets the collection that stores customized properties.|
|Nested||Gets or sets a value that indicates whether DataRelation objects are nested.|
|ParentColumns||Gets an array of DataColumn objects that are the parent columns of this DataRelation.|
|ParentKeyConstraint||Gets the UniqueConstraint that guarantees that values in the parent column of a DataRelation are unique.|
|ParentTable||Gets the parent DataTable of this DataRelation.|
|RelationName||Gets or sets the name used to retrieve a DataRelation from the DataRelationCollection.|
(see also Protected Methods )
|Equals||Overloaded. Determines whether two Object instances are equal. (Inherited from Object.)|
|GetHashCode||Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.)|
|GetType||Gets the Type of the current instance. (Inherited from Object.)|
|ReferenceEquals||Determines whether the specified Object instances are the same instance. (Inherited from Object.)|
|ToString||Overridden. Gets the RelationName, if one exists.|
|Finalize||Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)|
|MemberwiseClone||Creates a shallow copy of the current Object. (Inherited from Object.)|
|OnPropertyChanging||This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.|
|RaisePropertyChanging||This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.|