ItemBaseRepositoryT Constructor
Constructor that sets up the container this repository is going to be using,
and gets access to the memory cache.
Namespace: MobileTrack.DataContainers.RepositoriesAssembly: MobileTrack.DataContainers (in MobileTrack.DataContainers.dll) Version: 0.8+34f1bbd8dc6b32752cfce829cbed66e15113d7ba
protected internal ItemBaseRepository(
Database database,
string containerName,
IRedisDatabase? replicationLayer = null
)
Parameters
- database Database
- Azure Cosmos Database
- containerName String
- Name of the container
- replicationLayer IRedisDatabase (Optional)
- Memory cache. Optional, will be used for specific containers only.