CA.Blocks.DataAccess.Model
3.3.136
See the version list below for details.
dotnet add package CA.Blocks.DataAccess.Model --version 3.3.136
NuGet\Install-Package CA.Blocks.DataAccess.Model -Version 3.3.136
<PackageReference Include="CA.Blocks.DataAccess.Model" Version="3.3.136" />
paket add CA.Blocks.DataAccess.Model --version 3.3.136
#r "nuget: CA.Blocks.DataAccess.Model, 3.3.136"
// Install CA.Blocks.DataAccess.Model as a Cake Addin
#addin nuget:?package=CA.Blocks.DataAccess.Model&version=3.3.136
// Install CA.Blocks.DataAccess.Model as a Cake Tool
#tool nuget:?package=CA.Blocks.DataAccess.Model&version=3.3.136
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 was computed. 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. |
.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
- No dependencies.
NuGet packages (4)
Showing the top 4 NuGet packages that depend on CA.Blocks.DataAccess.Model:
Package | Downloads |
---|---|
CA.Blocks.DataAccess
Package Description |
|
CA.Blocks.MySQLDataAccess
Package Description |
|
CA.Blocks.SQLLiteDataAccess
Package Description |
|
CA.Blocks.SqliteDataAccess
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
3.4.145-prerelease | 150 | 5/27/2024 |
3.3.143-prerelease | 163 | 5/25/2024 |
3.3.138-prerelease | 133 | 3/16/2024 |
3.3.136 | 823 | 2/24/2024 |
3.3.135-prerelease | 167 | 2/24/2024 |
3.3.133-prerelease | 172 | 2/24/2024 |
3.2.129 | 384 | 1/13/2024 |
3.2.128-prerelease | 168 | 1/13/2024 |
3.2.127-prerelease | 297 | 11/26/2023 |
3.2.126-prerelease | 214 | 11/18/2023 |
3.2.125-prerelease | 224 | 11/18/2023 |
3.1.124 | 383 | 11/17/2023 |
3.1.123-prerelease | 208 | 11/17/2023 |
3.1.122 | 1,063 | 8/29/2023 |
3.1.121-prerelease | 241 | 8/29/2023 |
3.1.120 | 430 | 8/14/2023 |
3.1.119-prerelease | 299 | 8/14/2023 |
3.1.118 | 383 | 7/30/2023 |
3.1.117-prerelease | 285 | 7/24/2023 |
3.1.116-prerelease | 297 | 7/24/2023 |
3.1.115 | 375 | 6/26/2023 |
3.1.114-prerelease | 270 | 6/11/2023 |
3.1.110 | 1,131 | 3/31/2023 |
3.1.109-prerelease | 256 | 3/31/2023 |
3.1.108-prerelease | 270 | 3/31/2023 |
3.1.107 | 559 | 3/28/2023 |
3.1.106-prerelease | 249 | 3/28/2023 |
3.1.104 | 958 | 1/4/2023 |
3.1.103-prerelease | 235 | 1/4/2023 |
3.1.102-prerelease | 263 | 12/10/2022 |
3.1.101 | 2,816 | 11/21/2022 |
3.1.100-prerelease | 258 | 11/13/2022 |
3.1.99-prerelease | 250 | 11/5/2022 |
3.1.98-prerelease | 749 | 11/2/2022 |
3.1.97-prerelease | 230 | 11/2/2022 |
3.1.95-prerelease | 264 | 11/1/2022 |
3.1.83 | 1,500 | 10/22/2022 |
3.0.73 | 1,411 | 10/10/2022 |
3.0.71 | 1,339 | 10/10/2022 |
3.0.69 | 1,464 | 9/14/2022 |
3.0.59 | 2,439 | 8/18/2022 |
3.0.56 | 1,462 | 8/10/2022 |
3.0.49 | 1,726 | 6/27/2022 |
3.0.48 | 1,526 | 6/14/2022 |
3.0.44 | 1,671 | 3/19/2022 |
3.0.38 | 1,552 | 3/4/2022 |
3.0.37 | 1,376 | 11/21/2021 |
3.0.35 | 997 | 11/3/2021 |
3.0.34 | 1,032 | 10/24/2021 |
2.2.26 | 1,047 | 2/20/2021 |
2.2.21 | 888 | 12/14/2020 |
2.2.19-CI-20200530-023939 | 580 | 5/30/2020 |
2.1.18-CI-20200514-060834 | 548 | 5/14/2020 |
2.1.16-CI-20200514-034352 | 336 | 5/14/2020 |
2.1.14-CI-20200131-034815 | 880 | 1/31/2020 |