语言

Entity.IsFlat 属性

定义

注意

Use IsCollectionEnabled or IsHierarchyEnabled instead

指定一个值,表示该实例是否为平面(即不支持显式层级或集合)。

public:
 property bool IsFlat { bool get(); void set(bool value); };
[System.Obsolete("Use IsCollectionEnabled or IsHierarchyEnabled instead")]
[System.Runtime.Serialization.DataMember(EmitDefaultValue=false, IsRequired=false)]
public bool IsFlat { get; set; }
[<System.Obsolete("Use IsCollectionEnabled or IsHierarchyEnabled instead")>]
[<System.Runtime.Serialization.DataMember(EmitDefaultValue=false, IsRequired=false)>]
member this.IsFlat : bool with get, set
Public Property IsFlat As Boolean

属性值

true如果该实例是平坦的;否则,。 false

属性

适用于