Skip to main content
A newer version of this page is available. .

AssociationInvalidException Class

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.v18.2.dll

Declaration

public class AssociationInvalidException :
    Exception

Remarks

To resolve the exception, apply the AssociationAttribute attribute to a property representing a list (collection) or a reference to another object.

Inheritance

See Also