DataRelation.Nested Propriedade
Definição
Obtém ou define um valor que indica se os objetos DataRelation são aninhados.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
Valor da propriedade
true se os objetos DataRelation forem aninhados; caso contrário, false.true, if DataRelation objects are nested; otherwise, false.
- Atributos
Comentários
Você pode usar DataRelation objetos para definir relações hierárquicas, como as especificadas em XML.You can use DataRelation objects to define hierarchical relationships, such as those specified in XML. Para obter mais informações, consulte aninhando DataRelations.For more information, see Nesting DataRelations.
Observação
Se o TableName da tabela filho na relação corresponder ao ColumnName de uma coluna na tabela pai na relação, a Nested Propriedade deverá ser false .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.