Skip to main content

PropertyTypeMismatchException Class

OBSOLETE

Use AssociationInvalidException instead

An exception that is thrown when an association is incorrectly specified.

Namespace: DevExpress.Xpo.Exceptions

Assembly: DevExpress.Xpo.v23.2.dll

NuGet Package: DevExpress.Xpo

Declaration

[Obsolete("Use AssociationInvalidException instead", true)]
public class PropertyTypeMismatchException :
    AssociationInvalidException

Remarks

This exception is thrown if an object association (see the AssociationAttribute attribute) is declared incorrectly.

Solution:

- check the association’s name and parameters in the classes between which the association is declared.

Inheritance

Object
Exception
AssociationInvalidException
PropertyTypeMismatchException
See Also