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 |
获取关系另一端的角色名称。 |