Calebs.KeyValueRepo
0.2.0-ci-20
See the version list below for details.
dotnet add package Calebs.KeyValueRepo --version 0.2.0-ci-20
NuGet\Install-Package Calebs.KeyValueRepo -Version 0.2.0-ci-20
<PackageReference Include="Calebs.KeyValueRepo" Version="0.2.0-ci-20" />
paket add Calebs.KeyValueRepo --version 0.2.0-ci-20
#r "nuget: Calebs.KeyValueRepo, 0.2.0-ci-20"
// Install Calebs.KeyValueRepo as a Cake Addin #addin nuget:?package=Calebs.KeyValueRepo&version=0.2.0-ci-20&prerelease // Install Calebs.KeyValueRepo as a Cake Tool #tool nuget:?package=Calebs.KeyValueRepo&version=0.2.0-ci-20&prerelease
KeyValueRepo
A generic interface for Key Value storage operations. Ideal for simple key-values that might migrate across in memory, SQL Server or NoSQL - a quick and easy way to create a KeyValue store.
By default, this library ships with an in-memory implementation. KeyValueInMemory
which implements the IKeyValueRepo
interface.
Installing KeyValueRepo
You should install Extensions with NuGet:
Install-Package Calebs.KeyValueRepo
Or via the .NET Core command line interface:
dotnet add package Calebs.KeyValueRepo
Either command, from Package Manager Console or .NET Core CLI, will download and install Calebs.KeyValueRepo and all required dependencies.
Contributing
- PRs should be against the
Develop
branch. - Merged PRs to
Develop
will trigger a[version]-ci-[buildnumber]
deployment to nuget, assuming all unit tests pass. - Merged PRs to
Main
will trigger a [version] deployment to nuget, assuming all of the tests pass.
Versioning
The package version
is defined in the KeyValueRepo.csproj
file, using .NET SDK style structure. We follow semantic versioning
for this package.
Methods in IKeyValueRepo
- Get<T>(string Id)
- Get<T>(int Id) ⇒ Get<T>(string Id)
- Note: This method has a default implementation that performs a
ToString()
on the Id and calls theGet<T>(string Id)
method.
- Note: This method has a default implementation that performs a
- GetAll<T>()
- Update<T>(string Id, T object)
- Update<T>(int Id, T object) ⇒ Update(string Id, T object)
- Note This method has a default implementation that performs a
ToSTring()
on the int Id and calls theUpdate<T>(string Id, T object)
method.
- Note This method has a default implementation that performs a
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net6.0
- Calebs.Extensions (>= 1.2.0-ci-39)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Calebs.KeyValueRepo:
Package | Downloads |
---|---|
Calebs.KeyValueRepo.SQLite
a SQLite implementation of the KeyValueRepo abstraction for KeyValue data stores. |
|
Calebs.KeyValueRepoTests
a set of tests that all IKeyValueRepo implementations should pass. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
0.5.0-ci-44 | 146 | 1/8/2024 |
0.5.0-ci-43 | 96 | 1/8/2024 |
0.4.0-ci-42 | 93 | 1/8/2024 |
0.4.0-ci-41 | 99 | 1/7/2024 |
0.4.0-ci-40 | 113 | 1/4/2024 |
0.4.0-ci-37 | 133 | 1/4/2024 |
0.4.0-ci-36 | 84 | 1/4/2024 |
0.4.0-ci-35 | 85 | 1/4/2024 |
0.4.0-ci-34 | 95 | 1/3/2024 |
0.4.0-ci-33 | 95 | 1/3/2024 |
0.4.0-ci-32 | 93 | 1/3/2024 |
0.3.0-ci-31 | 111 | 1/3/2024 |
0.2.0-ci-9 | 232 | 6/9/2023 |
0.2.0-ci-8 | 145 | 6/9/2023 |
0.2.0-ci-7 | 134 | 6/9/2023 |
0.2.0-ci-6 | 141 | 6/9/2023 |
0.2.0-ci-5 | 138 | 6/9/2023 |
0.2.0-ci-4 | 143 | 6/2/2023 |
0.2.0-ci-30 | 101 | 12/31/2023 |
0.2.0-ci-3 | 193 | 5/4/2023 |
0.2.0-ci-29 | 92 | 12/30/2023 |
0.2.0-ci-28 | 86 | 12/30/2023 |
0.2.0-ci-27 | 86 | 12/30/2023 |
0.2.0-ci-26 | 85 | 12/29/2023 |
0.2.0-ci-25 | 85 | 12/29/2023 |
0.2.0-ci-24 | 105 | 12/28/2023 |
0.2.0-ci-23 | 92 | 12/28/2023 |
0.2.0-ci-22 | 84 | 12/27/2023 |
0.2.0-ci-21 | 78 | 12/27/2023 |
0.2.0-ci-20 | 84 | 12/27/2023 |
0.2.0-ci-19 | 88 | 12/27/2023 |
0.2.0-ci-18 | 87 | 12/27/2023 |
0.2.0-ci-17 | 86 | 12/27/2023 |
0.2.0-ci-16 | 73 | 12/27/2023 |
0.2.0-ci-14 | 139 | 6/12/2023 |
0.2.0-ci-13 | 140 | 6/10/2023 |
0.2.0-ci-12 | 124 | 6/10/2023 |
0.2.0-ci-11 | 137 | 6/9/2023 |
0.2.0-ci-10 | 129 | 6/9/2023 |
0.1.0 | 257 | 4/24/2023 |
0.1.0-ci-2 | 145 | 4/24/2023 |
0.1.0-ci-1 | 121 | 4/24/2023 |