Skip to main content

DevExpress.Mvvm.DataModel Namespace

Contains MVVM-aware classes.

Assembly: DevExpress.Mvvm.v24.2.DataModel.dll

NuGet Package: DevExpress.Scaffolding.Core

Classes

Name Description
DbException The database-independent exception used in Data Layer and View Model Layer to handle database errors.
ReadOnlyRepositoryExtensions static Provides a set of extension methods to perform commonly used operations with IReadOnlyRepository<TEntity>.
RepositoryExtensions static Provides a set of extension methods to perform commonly used operations with IRepository<TEntity, TPrimaryKey>.
RepositoryQueryBase<T> The base class that helps to implement the IRepositoryQuery<T> interface as a wrapper over an existing IQueryable instance.
UnitOfWorkBase The base class for unit of works that provides the storage for repositories.

Interfaces

Name Description
IInstantFeedbackSource<TEntity>

A data source suitable as an Instant Feedback source.

The GetList() method of the base IListSource interface is expected to return an instance of an internal type that happens to implement the IList interface. As such the IInstantFeedbackSource interface can only be implemented as a wrapper for an existing Instant Feedback source, e.g. EntityInstantFeedbackSource or WcfInstantFeedbackSource.

IReadOnlyRepository<TEntity> The IReadOnlyRepository interface represents the read-only implementation of the Repository pattern such that it can be used to query entities of a given type.
IRepository<TEntity, TPrimaryKey> The IRepository interface represents the read and write implementation of the Repository pattern such that it can be used to query entities of a given type.
IRepositoryQuery<T> The IRepositoryQuery interface represents an extension of IQueryable designed to provide an ability to specify the related objects to include in the query results.
IUnitOfWork The IUnitOfWork interface represents the Unit Of Work pattern such that it can be used to query from a database and group together changes that will then be written back to the store as a unit.
IUnitOfWorkFactory<TUnitOfWork> Provides the method to create a unit of work of a given type.

Enums

Name Description
EntityState Represents the state of the entity relative to the unit of work.