EdmRelationshipNavigationPropertyAttribute.TargetRoleName Property

 

Gets the role name at the other end of the relationship.

Namespace:   System.Data.Objects.DataClasses
Assembly:  System.Data.Entity (in System.Data.Entity.dll)

public string TargetRoleName { get; }

Property Value

Type: System.String

The target role name is specified by the Role attribute of the other End element in the association that defines this relationship in the conceptual model. For more information, see Association Element (CSDL).

.NET Framework
Available since 3.5
Return to top
Show: