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.
Since 0.1.0
getRepository<Entity, Id extends EntityKey = string>(entity: string): IRepository<Entity, Id>
Get a transaction-scoped repository for the named entity.