EdmRelationshipNavigationPropertyAttribute(String, String, String) Constructor

Definición

Inicializa una nueva instancia de la clase EdmRelationshipNavigationPropertyAttribute.

public:
 EdmRelationshipNavigationPropertyAttribute(System::String ^ relationshipNamespaceName, System::String ^ relationshipName, System::String ^ targetRoleName);
public EdmRelationshipNavigationPropertyAttribute (string relationshipNamespaceName, string relationshipName, string targetRoleName);
new System.Data.Objects.DataClasses.EdmRelationshipNavigationPropertyAttribute : string * string * string -> System.Data.Objects.DataClasses.EdmRelationshipNavigationPropertyAttribute
Public Sub New (relationshipNamespaceName As String, relationshipName As String, targetRoleName As String)

Parámetros

relationshipNamespaceName
String

Espacio de nombres de la propiedad de relación.

relationshipName
String

Nombre de la relación. El nombre de la relación no está calificado con el espacio de nombres.

targetRoleName
String

Nombre del rol del otro extremo de la relación.

Comentarios

El nombre de la relación no debe contener un espacio de nombres. Si agrega el espacio de nombres al nombre de la relación, por ejemplo, "MyNamespace". MyRelationship' se producirá un error.

Se aplica a