DataRelation.Nested 屬性

定義

取得或設定值,指出 DataRelation 物件是否為巢狀。

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

屬性值

如果 DataRelation 物件為巢狀,則為 true,否則為 false

屬性

備註

您可以使用 DataRelation 物件來定義階層式關聯性,例如 XML 中指定的關聯性。 如需詳細資訊,請參閱巢狀 DataRelations

注意

TableName如果關聯中子資料表的 與關聯中父資料表中資料行的 相符ColumnName,則 Nested 屬性必須是 false

適用於