共用方式為


EdmRelationshipNavigationPropertyAttribute 類別

定義

屬性,識別針對 RelationshipSet 定義的 End 隱含預設 AttributeUsage 屬性 Inherited=True、AllowMultiple=False、中繼資料系統預期這一點,而且只會查看這些屬性的第一個,即使還有更多屬性也一樣。

[System.AttributeUsage(System.AttributeTargets.Property)]
public sealed class EdmRelationshipNavigationPropertyAttribute : System.Data.Entity.Core.Objects.DataClasses.EdmPropertyAttribute
type EdmRelationshipNavigationPropertyAttribute = class
    inherit EdmPropertyAttribute
Public NotInheritable Class EdmRelationshipNavigationPropertyAttribute
Inherits EdmPropertyAttribute
繼承
EdmRelationshipNavigationPropertyAttribute
屬性

建構函式

EdmRelationshipNavigationPropertyAttribute(String, String, String)

初始化 EdmRelationshipNavigationPropertyAttribute 類別的新執行個體。

屬性

RelationshipName

取得不符合的關聯性名稱。

RelationshipNamespaceName

導覽屬性的命名空間名稱。

TargetRoleName

取得位於關聯性另一端的角色名稱。

適用於