AssociationType 類別

定義

表示概念模型中的關聯。

public ref class AssociationType sealed : System::Data::Metadata::Edm::RelationshipType
public sealed class AssociationType : System.Data.Metadata.Edm.RelationshipType
type AssociationType = class
    inherit RelationshipType
Public NotInheritable Class AssociationType
Inherits RelationshipType
繼承

備註

如需詳細資訊,請參閱 關聯類型

屬性

Abstract

取得表示這個型別是否為抽象的值。

(繼承來源 EdmType)
AssociationEndMembers

取得這個 AssociationType 的端點清單。

BaseType

取得這個型別的基底類型 (Base Type)。

(繼承來源 EdmType)
BuiltInTypeKind

取得這個 AssociationType 的內建型別類型。

Documentation

取得或設定與這個型別相關聯的文件。

(繼承來源 MetadataItem)
FullName

取得這個型別的完整名稱。

(繼承來源 EdmType)
IsForeignKey

取得 Boolean 屬性值,這個屬性值會指定資料行是否為外部索引鍵。

KeyMembers

取得目前實體或關聯性 (Relationship) 型別的所有索引鍵成員清單。

(繼承來源 EntityTypeBase)
Members

取得這個型別的屬性清單。

(繼承來源 StructuralType)
MetadataProperties

取得目前型別的屬性清單。

(繼承來源 MetadataItem)
Name

取得這個型別的名稱。

(繼承來源 EdmType)
NamespaceName

取得這個型別的命名空間 (Namespace)。

(繼承來源 EdmType)
ReferentialConstraints

取得這個 AssociationType 的條件約束 (Constraint) 清單。

RelationshipEndMembers

取得這個關聯性類型的端點清單。

(繼承來源 RelationshipType)

方法

Equals(Object)

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetCollectionType()

傳回 CollectionType 的執行個體 (Instance),其項目型別為這個型別。

(繼承來源 EdmType)
GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetType()

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
ToString()

傳回這個型別的完整名稱。

(繼承來源 EdmType)

擴充方法

Navigate(RelationshipType, String, String, DbExpression)

建立新的 DbRelationshipNavigationExpression,表示複合或關聯性 (Association Relationship) 的巡覽。

適用於