Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

EdmRelationshipAttribute::Role2Name Property

 

Name of the role at the other end of the relationship.

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

public:
property String^ Role2Name {
	String^ get();
}

Property Value

Type: System::String^

A String that is the name of the role.

Properties that define the related ends of an association can be defined in any order.

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 CSDL, SSDL, and MSL Specifications.

.NET Framework
Available since 3.5
Return to top
Show:
© 2017 Microsoft