DataRelation.Nested Property

Definition

Gets or sets a value that indicates whether DataRelation objects are nested.

public:
 virtual property bool Nested { bool get(); void set(bool value); };
public virtual bool Nested { get; set; }
[System.Data.DataSysDescription("DataRelationNested")]
public virtual bool Nested { get; set; }
member this.Nested : bool with get, set
[<System.Data.DataSysDescription("DataRelationNested")>]
member this.Nested : bool with get, set
Public Overridable Property Nested As Boolean

Property Value

true, if DataRelation objects are nested; otherwise, false.

Attributes

Remarks

You can use DataRelation objects to define hierarchical relationships, such as those specified in XML. For more information, see Nesting DataRelations.

Note

If the TableName of the child table in the relation matches the ColumnName of a column in the parent table in the relation, the Nested property must be false.

Applies to