AssociationAttribute(String, String, String) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the AssociationAttribute class.
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)
Parameters
- name
- String
The name of the association.
- thisKey
- String
A comma-separated list of the property names of the key values on the thisKey
side of the association.
- otherKey
- String
A comma-separated list of the property names of the key values on the otherKey
side of the association.
Remarks
If the association is bi-directional, the name must be the same on both sides of the association.
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET