Skip to main content

ReadOnlyRepositoryExtensions.GetFilteredEntities Method

Name Parameters Description
GetFilteredEntities<TEntity>(IReadOnlyRepository<TEntity>, Expression<Func<TEntity, Boolean>>) static repository, predicate Creates an IQueryable representing a sequence of entities from a repository filtered by a given predicate.
GetFilteredEntities<TEntity, TProjection>(IReadOnlyRepository<TEntity>, Expression<Func<TEntity, Boolean>>, Func<IRepositoryQuery<TEntity>, IQueryable<TProjection>>) static repository, predicate, projection Creates an IQuerable representing a sequence of entities from a repository filtered by a given predicate and projected to a specified projection entity type by a given LINQ function.