---
lang: en
title: 'API docs: repository.defaulttransactionalrepository'
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.defaulttransactionalrepository.html
---

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

[Home](./index.md) &gt; [@loopback/repository](./repository.md) &gt; [DefaultTransactionalRepository](./repository.defaulttransactionalrepository.md)

## DefaultTransactionalRepository class

Default implementation of CRUD repository using legacy juggler model and data source with beginTransaction() method for connectors which support Transactions

<b>Signature:</b>

```typescript
export declare class DefaultTransactionalRepository<T extends Entity, ID, Relations extends object = {}> extends DefaultCrudRepository<T, ID, Relations> implements TransactionalEntityRepository<T, ID, Relations> 
```
<b>Extends:</b> [DefaultCrudRepository](./repository.defaultcrudrepository.md)<!-- -->&lt;T, ID, Relations&gt;

<b>Implements:</b> [TransactionalEntityRepository](./repository.transactionalentityrepository.md)<!-- -->&lt;T, ID, Relations&gt;

## Methods

|  Method | Modifiers | Description |
|  --- | --- | --- |
|  [beginTransaction(options)](./repository.defaulttransactionalrepository.begintransaction.md) |  |  |


