System.Data.DataSet.Relations Property

Get the collection of relations that link tables and allow navigation from parent tables to child tables.

Syntax

[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Content)]
public DataRelationCollection Relations { get; }

Value

A System.Data.DataRelationCollection that contains a collection of System.Data.DataRelation objects, a null value if no DataRelation objects exist.

Remarks

Requirements

Namespace: System.Data
Assembly: System.Data (in System.Data.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0