Persisting Objects
eXpress Persistent Objects provides complete control over saving persistent objects to a data store. When a persistent object is saved for the first time or the database schema is updated, XPO collects the list of persistent members and creates all the necessary tables and relations between them. You can use the PersistentAttribute attribute to mark the objects you want to persist. To mark the objects you don’t want to persist, use the NonPersistentAttribute attribute.
Concepts
- Creating a Persistent Object
- Saving Persistent Objects
- Deleting Persistent Objects
- Adding Persistence to an Existing Hierarchy
- Unit of Work
- When and Why XPO Extends the Database Schema
Member Table
Task-Based Help
- How to: Persist a BLOB Field
- How to: Change Inheritance Mapping
- How to: Make a Class or Property Non-Persistent
- How to: Use Read-Only Persistent Properties
- How to: Control Automatic Saving of Objects when Editing in a Grid