HotRod is an implementation of the repository pattern, where the repository instances behave as ReadOnlyDictionaries (RODs). When a UnitOfWork is opened, they behave like regular Dictionaries so changes can be made and committed.
HotRod currently includes three different implementations:
- A MemoryRepository, where the data is stored only in memory and not persisted.
- A JsonFileRepository, where the data is persisted to a JSON text file, useful for debugging.
- A LiteDbRepository, where the data is persisted to a LiteDb database.
HotRod implementations are available as Nuget packages:
- - HotRod - Contains: MemoryRepository, JsonFileRepository
- - HotRod.LiteDb - Contains: LiteDbRepository
Additions and bug fixes are welcome. For larger changes please open an issue to discuss the changes.
Start by forking the repository then cloning that to your local machine.
git clone https://github.com/[you]/HotRod
Make the changes, and please test them. For larger changes, include an example.
Create a pull request.
There may be some back and forth, but we appreciate you working with us to get your contributions merged.