EdmRelationshipNavigationPropertyAttribute Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Attribute identifying the Ends defined for a RelationshipSet Implied default AttributeUsage properties Inherited=True, AllowMultiple=False, The metadata system expects this and will only look at the first of each of these attributes, even if there are more.
[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
- Inheritance
- Attributes
Constructors
EdmRelationshipNavigationPropertyAttribute(String, String, String) |
Initializes a new instance of the EdmRelationshipNavigationPropertyAttribute class. |
Properties
RelationshipName |
Gets the unqualified relationship name. |
RelationshipNamespaceName |
The namespace name of the navigation property. |
TargetRoleName |
Gets the role name at the other end of the relationship. |
Applies to
Entity Framework