AssociationAttribute(String, String, String) Konstruktor

Definice

Inicializuje novou instanci AssociationAttribute třídy.

public:
 AssociationAttribute(System::String ^ name, System::String ^ thisKey, System::String ^ otherKey);
public AssociationAttribute(string name, string thisKey, string otherKey);
new System.ComponentModel.DataAnnotations.AssociationAttribute : string * string * string -> System.ComponentModel.DataAnnotations.AssociationAttribute
Public Sub New (name As String, thisKey As String, otherKey As String)

Parametry

name
String

Název přidružení.

thisKey
String

Čárkami oddělený seznam názvů vlastností hodnot klíče na thisKey straně přidružení.

otherKey
String

Čárkami oddělený seznam názvů vlastností hodnot klíče na otherKey straně přidružení.

Poznámky

Pokud je přidružení obousměrné, musí být název stejný na obou stranách přidružení.

Platí pro