What problem does it solve?
This Skill solves the common pain points of implementing robust, error-free business logic for XAF applications that use the XPO ORM, eliminating issues like broken change tracking, session mixing exceptions, and incorrect lifecycle overrides that lead to data loss or unexpected behavior.
Core Features & Use Cases
- XPO-Specific CRUD & Session Management: Correctly implement UnitOfWork, NestedUnitOfWork, and Session access for transactional data operations in XAF.
- Business Class Lifecycle & Property Patterns: Use proper AfterConstruction/OnSaving overrides and SetPropertyValue patterns to ensure reliable change tracking and data integrity.
- Use Case: Build a XAF business object that supports nested transactions for popup edit dialogs, uses XPInstantFeedbackSource for large read-only grids, and automatically cascades deletes for associated child objects without manual cleanup code.
Quick Start
Use this Skill to implement a XPO-backed XAF business class with proper property change tracking, nested transaction support for popup dialogs, and server-mode data binding for large datasets.