AssociationAttribute(String, String, String) コンストラクター

定義

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)

パラメーター

name
String

アソシエーションの名前。

thisKey
String

関連付けの thisKey 側のキー値のプロパティ名のコンマ区切りのリスト。

otherKey
String

関連付けの otherKey 側のキー値のプロパティ名のコンマ区切りのリスト。

注釈

関連付けが双方向の場合、名前は関連付けの両側で同じである必要があります。

適用対象