Skip to main content
A newer version of this page is available. .

IRepository<TEntity, TPrimaryKey> Interface

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.

Namespace: DevExpress.Mvvm.DataModel

Assembly: DevExpress.Mvvm.v19.1.DataModel.dll

Declaration

public interface IRepository<TEntity, TPrimaryKey> :
    IReadOnlyRepository<TEntity>,
    IRepositoryQuery<TEntity>,
    IQueryable<TEntity>,
    IEnumerable<TEntity>,
    IEnumerable,
    IQueryable
    where TEntity : class

Type Parameters

Name
TEntity
TPrimaryKey
See Also