Skip to main content

IRepository<TEntity, TPrimaryKey> Properties

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.
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.
GetPrimaryKeyExpression Gets the lambda-expression that returns the entity primary key.
Provider Gets the query provider that is associated with this data source. Inherited from IQueryable.
UnitOfWork The owner unit of work. Inherited from IReadOnlyRepository<TEntity>.
See Also