AssociationAttribute(String, String, String) Konstruktor

Definíció

Inicializálja a AssociationAttribute osztály új példányát.

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)

Paraméterek

name
String

A társítás neve.

thisKey
String

A társítás oldalán található kulcsértékek thisKey tulajdonságneveinek vesszővel tagolt listája.

otherKey
String

A társítás oldalán található kulcsértékek otherKey tulajdonságneveinek vesszővel tagolt listája.

Megjegyzések

Ha a társítás kétirányú, a névnek a társítás mindkét oldalán azonosnak kell lennie.

A következőre érvényes: