Skip to main content

XPMemberInfo.IsAssociation Property

Gets whether the member sets up the relation.

Namespace: DevExpress.Xpo.Metadata

Assembly: DevExpress.Xpo.v24.1.dll

NuGet Package: DevExpress.Xpo

Declaration

public bool IsAssociation { get; }

Property Value

Type Description
Boolean

true if the member sets up the relation; otherwise, false.

Remarks

The AssociationAttribute attribute provides the name of the relationship and points to the properties used to set up the relation. If this attribute is applied to the member, the IsAssociation property returns true. For detailed information, see Relationships Between Objects

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the IsAssociation property.

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.

See Also