NonPersistentAttribute Class
Indicates that a class, property, or field will not be stored in a persistent data store.
Namespace: DevExpress.Xpo
Assembly: DevExpress.Xpo.v24.1.dll
NuGet Packages: DevExpress.Win.PivotGrid, DevExpress.Win.TreeMap, DevExpress.Xpo
NuGet Package: DevExpress.Xpo
Declaration
Remarks
Apply the NonPersistentAttribute attribute to a property or class if you don’t want to store its data that is persistent by default.
The NonPersistentAttribute is not inherited by derived classes.
Important
Do not use the NonPersistentAttribute to make a class non-persistent in eXpressApp Framework applications. Instead, apply the DomainComponentAttribute to a POCO class, as demonstrated in the Non-Persistent Objects topic in XAF documentation.