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.

C#
[System.AttributeUsage(System.AttributeTargets.Property)]
public sealed class EdmRelationshipNavigationPropertyAttribute : System.Data.Entity.Core.Objects.DataClasses.EdmPropertyAttribute
Inheritance
EdmRelationshipNavigationPropertyAttribute
Attributes

Constructors

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

Produkt Versioner
Entity Framework 6.2.0