Skip to main content

ReadOnlyRepositoryExtensions Members

Provides a set of extension methods to perform commonly used operations with IReadOnlyRepository<TEntity>.

Methods

Name Description
AppendToProjection<TEntity, TProjection>(Expression<Func<TEntity, Boolean>>, Func<IRepositoryQuery<TEntity>, IQueryable<TProjection>>) static Combines an initial projection and a predicate into a new projection with the effect of both.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetFilteredEntities<TEntity>(IReadOnlyRepository<TEntity>, Expression<Func<TEntity, Boolean>>) static 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 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.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also