interface IAdapterTransaction
extends ITransaction
Since 0.2.0

A transaction handle that can also open entity data sources bound to itself.

The scoped factory is what makes a Unit of Work atomic: every repository opened from one handle targets the same underlying transaction, so a single commit or rollback covers all of them.

Methods

Open a data source for entity bound to THIS transaction.

Usage

import { type IAdapterTransaction } from "common/src/index.ts";