AssociationTypeMapping 類別
[此頁面專屬於 Entity Framework 第 6 版。最新版本可從 'Entity Framework' NuGet 套件取得。如需 Entity Framework 的詳細資訊,請參閱 msdn.com/data/ef。]
表示 CS 空間中關聯類型對應的對應中繼資料。
繼承階層
System.Object
System.Data.Entity.Core.Mapping.MappingItem
System.Data.Entity.Core.Mapping.TypeMapping
System.Data.Entity.Core.Mapping.AssociationTypeMapping
命名空間: System.Data.Entity.Core.Mapping
組件: EntityFramework (在 EntityFramework.dll 中)
語法
'宣告
Public Class AssociationTypeMapping _
Inherits TypeMapping
'用途
Dim instance As AssociationTypeMapping
public class AssociationTypeMapping : TypeMapping
public ref class AssociationTypeMapping : public TypeMapping
type AssociationTypeMapping =
class
inherit TypeMapping
end
public class AssociationTypeMapping extends TypeMapping
AssociationTypeMapping 類型會公開下列成員。
建構函式
名稱 | 描述 | |
---|---|---|
![]() |
AssociationTypeMapping | 建立 AssociationTypeMapping 執行個體。 |
靠上
屬性
名稱 | 描述 | |
---|---|---|
![]() |
AssociationSetMapping | 取得包含此 AssociationTypeMapping 的 AssociationSetMapping。 |
![]() |
AssociationType | 取得已對應的關聯類型。 |
![]() |
MappingFragment | 取得單一對應片段。 |
靠上
方法
名稱 | 描述 | |
---|---|---|
![]() |
Equals | (繼承自 Object)。 |
![]() |
Finalize | (繼承自 Object)。 |
![]() |
GetHashCode | (繼承自 Object)。 |
![]() |
GetType | (繼承自 Object)。 |
![]() |
MemberwiseClone | (繼承自 Object)。 |
![]() |
ToString | (繼承自 Object)。 |
靠上
執行緒安全
這個類型的任何 Public static (在 Visual Basic 中為 Shared) 成員都是安全執行緒。並非所有的執行個體成員都是安全執行緒。