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

NuGet Package: DevExpress.Xpo

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