語言

EdmRelationshipNavigationPropertyAttribute 類別

定義

屬性識別關係定義的端點 預設屬性 使用屬性繼承=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
屬性

建構函式

名稱 Description
EdmRelationshipNavigationPropertyAttribute(String, String, String)

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

屬性

名稱 Description
RelationshipName

擁有無條件的關係名稱。

RelationshipNamespaceName

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

TargetRoleName

在關係的另一端,他會拿到角色名稱。

適用於