Calebs.KeyValueRepo.SQLite
0.4.0-ci-36
See the version list below for details.
dotnet add package Calebs.KeyValueRepo.SQLite --version 0.4.0-ci-36
NuGet\Install-Package Calebs.KeyValueRepo.SQLite -Version 0.4.0-ci-36
<PackageReference Include="Calebs.KeyValueRepo.SQLite" Version="0.4.0-ci-36" />
paket add Calebs.KeyValueRepo.SQLite --version 0.4.0-ci-36
#r "nuget: Calebs.KeyValueRepo.SQLite, 0.4.0-ci-36"
// Install Calebs.KeyValueRepo.SQLite as a Cake Addin #addin nuget:?package=Calebs.KeyValueRepo.SQLite&version=0.4.0-ci-36&prerelease // Install Calebs.KeyValueRepo.SQLite as a Cake Tool #tool nuget:?package=Calebs.KeyValueRepo.SQLite&version=0.4.0-ci-36&prerelease
KeyValueRepo.SQLite
A SqlLite implementation of a generic the KeyValueRepo interface for Key Value storage operations. Ideal for simple key-values that might migrate to 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 the KeyValueRepo with NuGet:
Install-Package Calebs.KeyValueRepo.SQLite
Or via the .NET Core command line interface:
dotnet add package Calebs.KeyValueRepo.SQLite
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 KeyValueSqlLiteRepo.csproj
file, using .NET SDK style structure. We follow semantic versioning
for this package. Implementations should match Major releases with KeyValueRepo 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
Release History & Development Goals
- 0.1.0 - initial release (in Memory)
- 0.2.0 - added SqlLite Implementation
- ✔ SQLite Nuget Package
Future Goals
- New Feature: KVR Meta Objects
- New Feature: Base Unit Tests via Nuget
- New Repo: Azure Tables Implementation
- New Repo: Sql Server Implementation
- New Repo: Azure CosmoDB Implementation
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.5.0)
- Calebs.KeyValueRepo (>= 0.2.0-ci-9)
- Microsoft.Data.Sqlite (>= 7.0.5)
- Microsoft.Extensions.Logging.Abstractions (>= 7.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
0.5.0-ci-44 | 112 | 1/8/2024 |
0.5.0-ci-43 | 65 | 1/8/2024 |
0.4.0-ci-42 | 66 | 1/8/2024 |
0.4.0-ci-41 | 74 | 1/7/2024 |
0.4.0-ci-40 | 69 | 1/4/2024 |
0.4.0-ci-37 | 69 | 1/4/2024 |
0.4.0-ci-36 | 60 | 1/4/2024 |
0.4.0-ci-12 | 62 | 1/3/2024 |
0.1.0-ci-9 | 79 | 12/30/2023 |
0.1.0-ci-8 | 82 | 12/30/2023 |
0.1.0-ci-7 | 73 | 12/29/2023 |
0.1.0-ci-6 | 117 | 12/29/2023 |
0.1.0-ci-11 | 73 | 12/31/2023 |
0.1.0-ci-10 | 68 | 12/30/2023 |