AssociationAttribute(String) Constructor
Initializes a new instance of the AssociationAttribute class with the specified association name.
Namespace: DevExpress.Xpo
Assembly: DevExpress.Xpo.v24.2.dll
Declaration
Parameters
Name | Type | Description |
---|---|---|
name | String | A String value which specifies the association name for the member. This value is assigned to the AssociationAttribute.Name property. |
Remarks
There has to be a corresponding association attribute with the same name of the association which represents the opposite side of the relationship. The association name must be unique among all the associations in any related classes and their descendants.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the AssociationAttribute(String) constructor.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.