IRelatedEnd.SourceRoleName Property

 

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

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

string SourceRoleName { get; }

Property Value

Type: System.String

The role name at the source end of the relationship.

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

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: