CA.Blocks.DataAccess
3.2.128-prerelease
See the version list below for details.
dotnet add package CA.Blocks.DataAccess --version 3.2.128-prerelease
NuGet\Install-Package CA.Blocks.DataAccess -Version 3.2.128-prerelease
<PackageReference Include="CA.Blocks.DataAccess" Version="3.2.128-prerelease" />
<PackageVersion Include="CA.Blocks.DataAccess" Version="3.2.128-prerelease" />
<PackageReference Include="CA.Blocks.DataAccess" />
paket add CA.Blocks.DataAccess --version 3.2.128-prerelease
#r "nuget: CA.Blocks.DataAccess, 3.2.128-prerelease"
#:package CA.Blocks.DataAccess@3.2.128-prerelease
#addin nuget:?package=CA.Blocks.DataAccess&version=3.2.128-prerelease&prerelease
#tool nuget:?package=CA.Blocks.DataAccess&version=3.2.128-prerelease&prerelease
This Package is a extention to the DataAccess Blocks, it will pull in the System.Text.Json to allow reading of Json Data Directory from a Column
To use: Direct Usage .NET standard a null value will be returned as Default(YourObject)
var target = new JsonDbColToTypeConverter<YourObject>();
var r = target.GetDataValue(dataRow, "col");
// r will be a type of YourObject
//or if you have we what to use the custom JsonSerializerOptions example PropertyNameCaseInsensitive
var target = new JsonDbColToTypeConverter<YourObject>(new JsonSerializerOptions{ PropertyNameCaseInsensitive = true});
var r = target.GetDataValue(dataRow, "col");
Direct Usage .NET 6 + can be as above by also detail with null values and interfaces
var target = new NullJsonDbColToTypeConverter<IYourObject>(new JsonSerializerOptions{ PropertyNameCaseInsensitive = true});
var r = target.GetDataValue(dataRow, "col");
// r will be a type of IYourObject? and will can be null is null in the DB
Register as a Translator
DefaultDbColToTypeProvider.DefaultInstance.Add(new NullJsonDbColToTypeConverter<IList<ColourValueDataType>>(new JsonSerializerOptions
{
PropertyNamingPolicy = JsonNamingPolicy.CamelCase
}));
In .NET standard you have to use concente types, with .net core 6+ you can use Interface Types
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. 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 is compatible. 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. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- CA.Blocks.DataAccess.Model (>= 3.2.128-prerelease)
-
net6.0
- CA.Blocks.DataAccess.Model (>= 3.2.128-prerelease)
-
net8.0
- CA.Blocks.DataAccess.Model (>= 3.2.128-prerelease)
NuGet packages (8)
Showing the top 5 NuGet packages that depend on CA.Blocks.DataAccess:
| Package | Downloads |
|---|---|
|
CA.Blocks.SQLServerDataAccess
Package Description |
|
|
CA.Blocks.MySQLDataAccess
Package Description |
|
|
CA.Blocks.SqliteDataAccess
Package Description |
|
|
CA.Blocks.DataAccess.Extensions.Translators.NUlid
Package Description |
|
|
CA.Blocks.SQLLiteDataAccess
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 3.7.212-prerelease | 320 | 1/15/2026 |
| 3.7.210-prerelease | 423 | 12/26/2025 |
| 3.6.207-prerelease | 431 | 12/4/2025 |
| 3.6.205-prerelease | 491 | 11/30/2025 |
| 3.6.202-prerelease | 403 | 11/27/2025 |
| 3.6.200 | 510 | 8/22/2025 |
| 3.6.199-prerelease | 328 | 7/27/2025 |
| 3.5.197-prerelease | 496 | 7/20/2025 |
| 3.5.195 | 1,220 | 5/14/2025 |
| 3.5.194-prerelease | 498 | 5/14/2025 |
| 3.5.192-prerelease | 370 | 5/3/2025 |
| 3.5.190-alpha | 432 | 4/13/2025 |
| 3.5.187-prerelease | 314 | 4/13/2025 |
| 3.4.172-prerelease | 353 | 11/29/2024 |
| 3.4.160 | 1,838 | 11/17/2024 |
| 3.4.159-prerelease | 390 | 10/24/2024 |
| 3.4.157 | 1,404 | 8/8/2024 |
| 3.4.156-prerelease | 422 | 8/4/2024 |
| 3.4.154-prerelease | 366 | 8/4/2024 |
| 3.2.128-prerelease | 451 | 1/13/2024 |