EdmRelationshipNavigationPropertyAttribute(String, String, String) Konstruktor

Definition

Initialisiert eine neue Instanz der EdmRelationshipNavigationPropertyAttribute-Klasse.

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)

Parameter

relationshipNamespaceName
String

Der Namespacename der Beziehungseigenschaft.

relationshipName
String

Der Name der Beziehung. Der Beziehungsname ist nicht namespacefähig.

targetRoleName
String

Der Rollenname am anderen Ende der Beziehung.

Hinweise

Der Beziehungsname darf keinen Namespace enthalten. Wenn Sie den Namespace zum Beziehungsnamen hinzufügen, z. B. "MyNamespace". MyRelationship', ein Fehler tritt auf.

Gilt für: