Back to Devexpress

IReadOnlyRepository<TEntity> Interface

corelibraries-devexpress-dot-mvvm-dot-datamodel-dot-ireadonlyrepository-1.md

latest1.9 KB
Original Source

IReadOnlyRepository<TEntity> Interface

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.

Namespace : DevExpress.Mvvm.DataModel

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

NuGet Package : DevExpress.Scaffolding.Core

Declaration

csharp
public interface IReadOnlyRepository<TEntity> :
    IRepositoryQuery<TEntity>,
    IQueryable<TEntity>,
    IEnumerable<TEntity>,
    IEnumerable,
    IQueryable
    where TEntity : class
vb
Public Interface IReadOnlyRepository(Of TEntity As Class)
    Inherits IRepositoryQuery(Of TEntity),
             IQueryable(Of TEntity),
             IEnumerable(Of TEntity),
             IEnumerable,
             IQueryable

Type Parameters

Name
TEntity

Extension Methods

GetFilteredEntities<TEntity, TProjection>(Expression<Func<TEntity, Boolean>>, Func<IRepositoryQuery<TEntity>, IQueryable<TProjection>>)

GetFilteredEntities<TEntity>(Expression<Func<TEntity, Boolean>>)

Load()

See Also

IReadOnlyRepository<TEntity> Members

DevExpress.Mvvm.DataModel Namespace