Setu-TS
    Preparing search index...

    Interface IUnitOfWork

    Unit of Work: transaction-scoped repository access.

    All repositories obtained from a Unit of Work share the same underlying transaction and commit or roll back together.

    0.1.0

    interface IUnitOfWork {
        getRepository<Entity, Id extends EntityKey = string>(
            entity: string,
        ): IRepository<Entity, Id>;
    }

    Implemented by

    Index