xaf-nonpersistent
Installation
SKILL.md
XAF: NonPersistent Objects
What Are NonPersistent Objects
NonPersistent objects are business classes for which XAF generates full UI (List Views, Detail Views, Actions) but which are not mapped to any database table. They hold data loaded from external sources, computed at runtime, or used as temporary input forms.
- Decorated with
[DomainComponent]attribute (NOT[NonPersistent]from XPO — different meaning!) - Do NOT inherit from XPO persistent base classes (causes
SessionMixingException) - Managed by
NonPersistentObjectSpace - Must register
.AddNonPersistent()in app builder