---
lang: en
title: 'API docs: repository.entityrepository'
keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI
sidebar: lb4_sidebar
editurl: https://github.com/loopbackio/loopback-next/tree/master/packages/repository
permalink: /doc/en/lb4/apidocs.repository.entityrepository.html
---

<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@loopback/repository](./repository.md) &gt; [EntityRepository](./repository.entityrepository.md)

## EntityRepository interface

Base interface for a repository of entities

<b>Signature:</b>

```typescript
export interface EntityRepository<T extends Entity, ID> extends ExecutableRepository<T> 
```
<b>Extends:</b> [ExecutableRepository](./repository.executablerepository.md)<!-- -->&lt;T&gt;


