共用方式為


EdmComplexTypeAttribute 類別

[此頁面專屬於 Entity Framework 第 6 版。最新版本可從 'Entity Framework' NuGet 套件取得。如需 Entity Framework 的詳細資訊,請參閱 msdn.com/data/ef。]

複雜類型的屬性

繼承階層

System.Object
  System.Attribute
    System.Data.Entity.Core.Objects.DataClasses.EdmTypeAttribute
      System.Data.Entity.Core.Objects.DataClasses.EdmComplexTypeAttribute

命名空間:  System.Data.Entity.Core.Objects.DataClasses
組件:  EntityFramework (在 EntityFramework.dll 中)

語法

'宣告
<AttributeUsageAttribute(AttributeTargets.Class)> _
Public NotInheritable Class EdmComplexTypeAttribute _
    Inherits EdmTypeAttribute
'用途
Dim instance As EdmComplexTypeAttribute
[AttributeUsageAttribute(AttributeTargets.Class)]
public sealed class EdmComplexTypeAttribute : EdmTypeAttribute
[AttributeUsageAttribute(AttributeTargets::Class)]
public ref class EdmComplexTypeAttribute sealed : public EdmTypeAttribute
[<SealedAttribute>]
[<AttributeUsageAttribute(AttributeTargets.Class)>]
type EdmComplexTypeAttribute =  
    class 
        inherit EdmTypeAttribute 
    end
public final class EdmComplexTypeAttribute extends EdmTypeAttribute

EdmComplexTypeAttribute 類型會公開下列成員。

建構函式

  名稱 描述
公用方法 EdmComplexTypeAttribute 初始化 EdmComplexTypeAttribute 類別的新執行個體。

靠上

屬性

  名稱 描述
公用屬性 Name 概念結構描述中類型的名稱,它會對應至此屬性所套用的類別 (Class)。 (繼承自 EdmTypeAttribute)。
公用屬性 NamespaceName 概念結構描述中對應至此類型之實體物件類型或複雜類型的命名空間名稱。 (繼承自 EdmTypeAttribute)。
公用屬性 TypeId (繼承自 Attribute)。

靠上

方法

  名稱 描述
公用方法 Equals (繼承自 Attribute)。
公用方法 GetHashCode (繼承自 Attribute)。
公用方法 GetType (繼承自 Object)。
公用方法 IsDefaultAttribute (繼承自 Attribute)。
公用方法 Match (繼承自 Attribute)。
公用方法 ToString (繼承自 Object)。

靠上

明確介面實作

  名稱 描述
明確介面實作私用方法 _Attribute.GetIDsOfNames (繼承自 Attribute)。
明確介面實作私用方法 _Attribute.GetTypeInfo (繼承自 Attribute)。
明確介面實作私用方法 _Attribute.GetTypeInfoCount (繼承自 Attribute)。
明確介面實作私用方法 _Attribute.Invoke (繼承自 Attribute)。

靠上

執行緒安全

這個類型的任何 Public static (在 Visual Basic 中為 Shared) 成員都是安全執行緒。並非所有的執行個體成員都是安全執行緒。

請參閱

參考

System.Data.Entity.Core.Objects.DataClasses 命名空間