Back to Devexpress

AssociationInvalidException Class

xpo-devexpress-dot-xpo-dot-exceptions-b09d3e64.md

latest1.4 KB
Original Source

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

NuGet Package : DevExpress.Xpo

Declaration

csharp
public class AssociationInvalidException :
    Exception
vb
Public Class AssociationInvalidException
    Inherits 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

AssociationInvalidException Members

DevExpress.Xpo.Exceptions Namespace