AssociationInvalidException Class
In This Article
An exception that is thrown when a persistent property marked with the AssociationAttribute attribute cannot be used to create a relation.
Namespace: DevExpress.Xpo.Exceptions
Assembly: DevExpress.Xpo.v24.2.dll
NuGet Package: DevExpress.Xpo
#Declaration
#Remarks
To resolve the exception, apply the AssociationAttribute attribute to a property representing a list (collection) or a reference to another object.
See Also