IReadOnlyRepository<TEntity> Members
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.Properties
Name | Description |
---|---|
ElementType | Gets the type of the element(s) that are returned when the expression tree associated with this instance of IQueryable is executed. Inherited from IQueryable. |
Expression | Gets the expression tree that is associated with the instance of IQueryable. Inherited from IQueryable. |
Provider | Gets the query provider that is associated with this data source. Inherited from IQueryable. |
UnitOfWork | The owner unit of work. |
Methods
Name | Description |
---|---|
GetEnumerator() | Returns an enumerator that iterates through the collection. Inherited from IEnumerable<T>. |
Include<TProperty>(Expression<Func<T, TProperty>>) | Specifies the related objects to include in the query results. Inherited from IRepositoryQuery<T>. |
Where(Expression<Func<T, Boolean>>) | Filters a sequence of entities based on the given predicate. Inherited from IRepositoryQuery<T>. |
See Also