EdmRelationshipNavigationPropertyAttribute Constructor (String^, String^, String^)

 

Initializes a new instance of the EdmRelationshipNavigationPropertyAttribute class.

Namespace:   System.Data.Objects.DataClasses
Assembly:  System.Data.Entity (in System.Data.Entity.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.

The relationship name should not contain a namespace. If you add the namespace to the relationship name, for example 'MyNamespace.MyRelationship', an error will occur.

.NET Framework
Available since 3.5
Return to top
Show: