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 にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET