Ax.Fw.Storage 11.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Ax.Fw.Storage --version 11.0.0
                    
NuGet\Install-Package Ax.Fw.Storage -Version 11.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Ax.Fw.Storage" Version="11.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Ax.Fw.Storage" Version="11.0.0" />
                    
Directory.Packages.props
<PackageReference Include="Ax.Fw.Storage" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Ax.Fw.Storage --version 11.0.0
                    
#r "nuget: Ax.Fw.Storage, 11.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Ax.Fw.Storage@11.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Ax.Fw.Storage&version=11.0.0
                    
Install as a Cake Addin
#tool nuget:?package=Ax.Fw.Storage&version=11.0.0
                    
Install as a Cake Tool

Ax.Fw.Storage

Simple document storage provider based on SQLite


Usage example:
// getting lifetime
var lifetime = new Lifetime();

// getting db filepath
var dbFile = GetDbPath();

try
{
	var storage = new SqliteDocumentStorage(dbFile, lifetime);
	
	// create document; document instance contains meta data - namespace, version, last modified datetime, etc
	var doc = await storage.CreateDocumentAsync("test_doc_type", null, lifetime.Token);

	// create record; record instance contains actual data; one document can contain multiple records
	var record = await storage.WriteSimpleRecordAsync(doc.DocId, "test-data", lifetime.Token);

	// retrieve data; simple records in document are distinguished by type (strongly-typed)
	var data = await storage.ReadSimpleRecordAsync<string>(doc.DocId, lifetime.Token);

	Assert.Equal("test-data", data?.Data);
}
finally
{
	await lifetime.CompleteAsync();
	new FileInfo(dbFile).TryDelete();
}
Product 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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
14.5.256 138 6/19/2025
14.5.255 128 6/19/2025
14.5.254 280 6/12/2025
14.5.252 144 5/11/2025
14.5.251 151 5/8/2025
14.5.250 149 5/8/2025
14.5.249 146 5/8/2025
14.5.248 148 5/8/2025
14.5.247 192 2/8/2025
14.5.246 109 2/8/2025
14.5.245 117 2/7/2025
14.5.244 108 1/29/2025
14.5.242 104 1/29/2025
14.5.241 105 1/29/2025
14.4.240 199 11/2/2024
14.4.239 196 10/18/2024
14.4.237 130 9/19/2024
14.4.236 176 8/11/2024
14.3.235 146 8/10/2024
14.3.234 107 8/5/2024
14.3.233 115 7/29/2024
14.3.232 125 7/23/2024
14.3.231 123 7/22/2024
14.3.230 140 7/17/2024
14.3.229 117 7/17/2024
14.3.228 124 7/11/2024
14.3.227 130 7/10/2024
14.3.226 157 7/3/2024
14.3.225 146 6/14/2024
14.3.224 115 6/7/2024
14.3.223 135 6/6/2024
14.3.222 140 5/17/2024
14.3.221 168 4/12/2024
14.2.219 137 4/11/2024
14.2.218 132 4/10/2024
14.2.217 228 3/29/2024
14.2.216 147 3/27/2024
14.2.215 145 3/22/2024
14.1.212 149 3/11/2024
14.1.211 136 3/11/2024
14.1.210 136 3/6/2024
14.1.208 149 3/6/2024
14.1.206 149 3/2/2024
14.1.205 152 3/1/2024
14.0.204 157 2/19/2024
14.0.203 139 2/16/2024
14.0.201 154 2/15/2024
13.0.200 164 2/10/2024
13.0.199 145 2/10/2024
13.0.198 144 2/10/2024
13.0.197 323 12/10/2023
13.0.196 152 12/10/2023
13.0.195 149 12/9/2023
13.0.194 127 12/6/2023
13.0.192 140 12/5/2023
13.0.191 173 11/26/2023
13.0.189 145 11/24/2023
13.0.186 140 11/23/2023
13.0.185 148 11/22/2023
13.0.182 147 11/18/2023
13.0.181 178 11/14/2023
13.0.180 369 11/12/2023
13.0.179 138 11/10/2023
12.1.178 168 10/25/2023
12.1.177 161 10/24/2023
12.1.176 158 10/21/2023
12.1.175 164 10/21/2023
12.1.173 157 10/16/2023
12.1.172 183 10/15/2023
12.1.171 158 10/15/2023
12.1.170 152 10/15/2023
12.1.168 174 10/15/2023
12.1.167 134 10/14/2023
12.1.166 201 9/7/2023
12.1.165 228 8/28/2023
12.1.164 265 8/15/2023
12.1.163 222 8/14/2023
12.1.162 194 8/14/2023
12.1.161 235 6/20/2023
12.1.160 238 6/10/2023
12.1.158 210 5/31/2023
12.1.157 206 5/22/2023
12.1.7 203 5/21/2023
12.1.0 199 5/19/2023
12.0.21 209 5/18/2023
12.0.20 188 5/18/2023
12.0.19 210 5/10/2023
12.0.18 190 5/4/2023
12.0.17 218 5/3/2023
12.0.16 233 4/30/2023
12.0.15 226 4/30/2023
12.0.13 232 4/27/2023
12.0.12 239 4/27/2023
12.0.10 300 4/15/2023
12.0.9 288 4/6/2023
12.0.8 288 3/27/2023
12.0.7 281 3/27/2023
12.0.3 276 3/22/2023
12.0.2 277 3/22/2023
12.0.1 309 3/1/2023
12.0.0 347 2/11/2023
11.1.10 328 2/11/2023
11.1.9 332 2/10/2023
11.1.8 330 2/6/2023
11.1.7 331 2/5/2023
11.1.6 340 2/4/2023
11.1.5 340 2/4/2023
11.1.4 373 12/30/2022
11.1.3 409 12/26/2022
11.1.2 354 12/26/2022
11.1.1 371 12/25/2022
11.0.0 363 12/24/2022
1.0.0 389 12/24/2022