klyn.data.internal.ManagedRepository.ManagedRepository
constructor

    public ManagedRepository(
    delegate as Repository<T, TId>,
    ownerState as EntityManagerState,
    synchronizer as QuerySynchronizer
    ):

Description

Wraps one repository in an EntityManager lifetime check.

Parameters

Parameter | Description
--- | ---
`delegate` | Provider repository.
`ownerState` | Shared owning manager lifecycle.

Example

    managed as Repository<User, Int> = manager.repository<User, Int>()