Share via


EdmRelationshipNavigationPropertyAttribute Class

Definition

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
EdmRelationshipNavigationPropertyAttribute
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