devexpress-xaf-business-logic
Installation
SKILL.md
DevExpress XAF — Business Logic & CRUD Operations
All data manipulation in XAF applications flows through the Object Space — an ORM-independent abstraction implementing the Repository and Unit of Work patterns. This skill covers creating, reading, updating, and deleting objects, handling Object Space events, and implementing business logic in controllers and business classes.
ORM Detection — Composite Skill Pattern
Before generating code, inspect the project:
- Check
usingdirectives forDevExpress.Xpo,DevExpress.Persistent.BaseImpl(XPO indicators) - Check
.csprojforDevExpress.ExpressApp.Xpopackage references - If XPO is detected, also load
devexpress-xaf-business-logic-xpofor XPO-specific patterns (Session, UnitOfWork, XPCollection, NestedUnitOfWork, AfterConstruction/OnSaving overrides)
This base skill covers the ORM-independent IObjectSpace API used by both EF Core and XPO applications.