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 Packages: DevExpress.Win.PivotGrid, DevExpress.Win.TreeMap, DevExpress.Xpo
NuGet Package: DevExpress.Xpo
Declaration
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.