Skip to main content

XPO Classes Structure

  • 2 minutes to read

Use the following links to access reference information about the most important classes in XPO.

Class

Description

Session

A Session object, an essential component that is used to load and save persistent objects from any data store.

InMemoryDataStore

Stores persistent objects in memory. Intended for a testing environment and not for production purposes or large data sets. This data store is useful for in-memory object manipulations. Not designed for large data sets.

AccessConnectionProvider and

MSSqlConnectionProvider

Built-in connection providers implementing data-aware operations for the Microsoft Access, Microsoft SQL Server, and Microsoft SQL Azure databases.

XpoDataSource

A data source providing persistent objects for data-aware web controls.

DataCacheRoot, MSSql2005SqlDependencyCacheRoot,

DataCacheNode, and DataCacheNodeLocal

The main classes that provide functionality for cached data stores.

DataStoreService, DataStoreClient,

CachedDataStoreService, CachedDataStoreClient,

SerializableObjectLayerService, SerializableObjectLayerServiceClient,

SerializableObjectLayerProxyBase, and SerializableObjectLayerClient

The main classes allowing you to transfer data over the wire in your distributed applications via WCF services.

XpoDefault

Stores global settings such as a connection string or a shared data access layer, and simplifies the implementation of multi-session applications.

XPObject

A base class for persistent objects providing a built-in identity field, optimistic concurrency, and deferred object deletion

XPLiteObject

A base class for persistent objects providing basic functionality. This class is useful when mapping your persistent objects to existing databases.

PersistentAttribute, KeyAttribute,

AssociationAttribute, SizeAttribute,

DelayedAttribute

The main built-in attributes allowing you to properly map your persistent objects to database objects.

UnitOfWork

A Unit of Work allowing you to manage persistent object modifications using semi-automatically maintained transactions.

ExplicitUnitOfWork

An explicit unit of work allowing you to manage persistent object modifications using semi-automatically maintained database level transactions.

NestedUnitOfWork

A nested unit of work allowing you to manage persistent object modifications within the scope of its parent unit of work.

XPCollection and XPCollection<T>

A collection of persistent objects and its generic type counterpart.

XPDataView

The data source that displays data from result sets.

XPView

The view that stores data retrieved from persistent objects.

XPQuery<T>

A query that allows the construction of LINQ queries for persistent objects.