Skip to main content

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.v24.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

Object
Exception
AssociationInvalidException
See Also