AssociationAttribute(String, String, String) Konstruktor

Definicja

Inicjuje nowe wystąpienie klasy AssociationAttribute.

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

Nazwa skojarzenia.

thisKey
String

Rozdzielona przecinkami lista nazw właściwości wartości klucza po thisKey stronie skojarzenia.

otherKey
String

Rozdzielona przecinkami lista nazw właściwości wartości klucza po otherKey stronie skojarzenia.

Uwagi

Jeśli skojarzenie jest dwukierunkowe, nazwa musi być taka sama po obu stronach skojarzenia.

Dotyczy