EdmRelationshipNavigationPropertyAttribute(String, String, String) Construtor
Definição
Inicializa uma nova instância da classe EdmRelationshipNavigationPropertyAttribute.Initializes a new instance of the EdmRelationshipNavigationPropertyAttribute class.
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
O nome do namespace da propriedade da relação.The namespace name of the relationship property.
- relationshipName
- String
O nome da relação.The name of the relationship. O nome da relação não é qualificado de namespace.The relationship name is not namespace qualified.
- targetRoleName
- String
O nome da função na outra extremidade da relação.The role name at the other end of the relationship.
Comentários
O nome da relação não deve conter um namespace.The relationship name should not contain a namespace. Se você adicionar o namespace ao nome da relação, por exemplo, 'MyNamespace. Myrelationl', ocorrerá um erro.If you add the namespace to the relationship name, for example 'MyNamespace.MyRelationship', an error will occur.