EdmRelationshipNavigationPropertyAttribute Constructor (String^, String^, String^)
.NET Framework (current version)
Initializes a new instance of the EdmRelationshipNavigationPropertyAttribute class.
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
Available since 3.5
Show: