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

Use Cases

  • Display data from external REST APIs / stored procedures
  • Intermediate input forms (collect parameters before executing an action)
  • Computed aggregates / dashboards with no DB binding
  • PopupWindowShowAction dialogs for user input
Related skills

More from kashiash/xaf-skills

Installs
7
GitHub Stars
6
First Seen
Mar 10, 2026