Skip to main content

NonPersistentReferenceFoundException Class

An exception that is thrown when a persistent reference to a non-persistent class exists.

Namespace: DevExpress.Xpo.Exceptions

Assembly: DevExpress.Xpo.v24.1.dll

NuGet Package: DevExpress.Xpo

Declaration

public class NonPersistentReferenceFoundException :
    Exception

Remarks

This exception is raised when a persistent reference to a non-persistent class exists. For instance, a persistent object contains an Array property of the ArrayList class and this property is marked with the PersistentAttribute attribute. The ArrayList class is non-persistent, so the NonPersistentReferenceFoundException will be raised.

Solution:

- ensure that a persistent reference denotes a persistent object.

Inheritance

Object
Exception
NonPersistentReferenceFoundException
See Also