A newer version of this page is available. Switch to the current version.

Object Space

  • 2 minutes to read

In XAF applications, all data-aware manipulations are performed via the Object Space - an abstraction on the database context, allowing you to query or modify data in the transaction. Object Space is an ORM-independent implementation of the well-known Repository and Unit Of Work design patterns.

Object Space members are declared in the IObjectSpace interface. XAF provides the following classes that implement this interface:


Mobile applications support the XPObjectSpace only.

These classes inherit the BaseObjectSpace class that implements the common code.


In most cases, you will access Object Space via the IObjectSpace interface and do not need to use these classes directly.

To see how you can access an IObjectSpace object to write business logic in various contexts, proceed to the Ways to Implement Business Logic topic. To learn about Object Space API, see Create, Read, Update and Delete Data.

See Also