public SQLRepository( configuration as SQLConfiguration, mapping as SQLMapping<T, TId>, session as SQLProviderSession, tracker as SQLIdentityTracker ):
Creates a repository borrowing one EntityManager SQL session.
| Parameter | Description |
|---|---|
configuration | SQL provider configuration. |
mapping | Validated entity mapping. |
session | Owning manager session. |
users = manager.repository<User, Int>()