EdmRelationshipNavigationPropertyAttribute 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
标识为 RelationshipSet 定义的 Ends 的属性隐含默认 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(String, String, String) |
初始化 EdmRelationshipNavigationPropertyAttribute 类的新实例。 |
属性
| 名称 | 说明 |
|---|---|
| RelationshipName |
获取未限定的关系名称。 |
| RelationshipNamespaceName |
导航属性的命名空间名称。 |
| TargetRoleName |
获取关系另一端的角色名称。 |