EdmRelationshipNavigationPropertyAttribute Constructor (String, String, String)

 

Initializes a new instance of the EdmRelationshipNavigationPropertyAttribute class.

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

public EdmRelationshipNavigationPropertyAttribute(
	string relationshipNamespaceName,
	string relationshipName,
	string targetRoleName
)

Parameters

relationshipNamespaceName
Type: System.String

The namespace name of the relationship property.

relationshipName
Type: System.String

The name of the relationship. The relationship name is not namespace qualified.

targetRoleName
Type: System.String

The role name at the other end of the relationship.