---
displayed_sidebar: servicesSidebar
---

import ParameterTypes from "@site/src/components/ParameterTypes"

# ITransactionBaseService

## Methods

### withTransaction

`**withTransaction**(transactionManager?): [ITransactionBaseService](ITransactionBaseService.mdx)`

#### Parameters

<ParameterTypes parameters={[
  {
    "name": "transactionManager",
    "type": "EntityManager",
    "description": "",
    "optional": true,
    "defaultValue": "",
    "expandable": false,
    "children": []
  }
]} />

#### Returns

[ITransactionBaseService](ITransactionBaseService.mdx)

<ParameterTypes parameters={[
  {
    "name": "ITransactionBaseService",
    "type": "[ITransactionBaseService](ITransactionBaseService.mdx)",
    "optional": false,
    "defaultValue": "",
    "description": "",
    "expandable": false,
    "children": []
  }
]} />
