DataRelation.Nested Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
.