IRelatedEnd.TargetRoleName Property

 

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

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

string TargetRoleName { get; }

Property Value

Type: System.String

The role name at the target end of the relationship.

The RelatedEnd class implements the TargetRoleName property. For more information, see TargetRoleName.

The role name is specified by the Role attribute of the 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: