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

AssociationElementTypeMissingException Class

An exception that is thrown when the elementType parameter is not specified in the AssociationAttribute attribute.

Namespace: DevExpress.Xpo.Exceptions

Assembly: DevExpress.Xpo.v18.2.dll

Declaration

public class AssociationElementTypeMissingException :
    Exception

Remarks

When specifying the AssociationAttribute for a collection property you need to specify the attribute’s elementType parameter. This should identify the type of items stored in the current collection. If this parameter is omitted an AssociationElementTypeMissingException exception is raised.

Solution:

- add the elementType parameter to the AssociationAttribute attribute.

Inheritance

Object
Exception
AssociationElementTypeMissingException
See Also