EdmRelationshipNavigationPropertyAttribute 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
屬性識別關係定義的端點 預設屬性 使用屬性繼承=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
- 繼承
- 屬性
建構函式
| 名稱 | Description |
|---|---|
| EdmRelationshipNavigationPropertyAttribute(String, String, String) |
初始化 EdmRelationshipNavigationPropertyAttribute 類別的新執行個體。 |
屬性
| 名稱 | Description |
|---|---|
| RelationshipName |
擁有無條件的關係名稱。 |
| RelationshipNamespaceName |
導航屬性的命名空間名稱。 |
| TargetRoleName |
在關係的另一端,他會拿到角色名稱。 |