EdmRelationshipNavigationPropertyAttribute(String, String, String) 建構函式

定義

初始化 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)

參數

relationshipNamespaceName
String

關係屬性的命名空間名稱。

relationshipName
String

關係的名稱。 關係名稱不符合命名空間的資格。

targetRoleName
String

關係另一端的職稱。

備註

關係名稱不應包含命名空間。 如果你在關係名稱中加入命名空間,例如「MyNamespace」。MyRelationship',將會發生錯誤。

適用於