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

属性

适用于