public repository<T, TId>( mapping as MappingDescriptor<T, TId> ) as Repository<T, TId>:
Returns a cached typed KQL query root using an explicit mapping.
| Parameter | Description |
|---|---|
<T> | Entity type. |
<TId> | Effective identity type. |
mapping | Exact provider mapping. |
Manager-owned query repository.
users = manager.repository<User, Int>(userMapping)