CA.Blocks.DataAccess 3.6.205-prerelease

This is a prerelease version of CA.Blocks.DataAccess.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package CA.Blocks.DataAccess --version 3.6.205-prerelease
                    
NuGet\Install-Package CA.Blocks.DataAccess -Version 3.6.205-prerelease
                    
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="CA.Blocks.DataAccess" Version="3.6.205-prerelease" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CA.Blocks.DataAccess" Version="3.6.205-prerelease" />
                    
Directory.Packages.props
<PackageReference Include="CA.Blocks.DataAccess" />
                    
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 CA.Blocks.DataAccess --version 3.6.205-prerelease
                    
#r "nuget: CA.Blocks.DataAccess, 3.6.205-prerelease"
                    
#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 CA.Blocks.DataAccess@3.6.205-prerelease
                    
#: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=CA.Blocks.DataAccess&version=3.6.205-prerelease&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=CA.Blocks.DataAccess&version=3.6.205-prerelease&prerelease
                    
Install as a Cake Tool

NuGet version (CA.Blocks.DataAccess) Build Status

The CA.Blocks.DataAccess is designed as a micro-ORM for relational databases. Its core functionality focuses on reducing the object-relational impedance mismatch that exists between the relational world and the object world of objects in .NET. It was designed to work with onion / layered and CQRS-type architectures and can work with or without dependency injection. The blocks are built on top of ADO.NET the core layer is implemented within CA.Blocks.DataAccess. This layer has no dependence on any provider, each provider is implemented as implementation on the abstract core. These are all independent assemblies such that each of the providers can be isolated. If you using MySQL you do not need to pull in the SQL server dependencies and visa versa.

If there no direct provider you can create use a OleDB connection the example below will make a connection to a Jet database the format used for Ms Access


	public class AccessDb : AbstractedDbDataAccessConnector<OleDbConnection, OleDbDataAdapter, OleDbCommand>
	{
		// https://learn.microsoft.com/en-us/dotnet/framework/data/adonet/ole-db-schema-collections 

		public AccessDb(string fileName, string password) : base(
			new SimpleConnectionStringDataAccessConfig($"Provider=Microsoft.Jet.OLEDB.4.0;Data Source={fileName};Jet OLEDB:System Database=system.mdw;Jet OLEDB:Database Password={password};"))
		{

		}
		
		public IList<string> GetTableNames()
		{
			DataTable dt = GetSchema("Tables");
			return dt.CreateDataReader().ToSingleNamedColumnList<string>("TABLE_NAME")
				.Where( x => !x.StartsWith("MSys") )  // <-- this is an access concern 
				.ToList();
		}

		public IList<string> GetColumnNames()
		{
			DataTable dt = GetSchema("Columns");
			return dt.CreateDataReader().ToSingleNamedColumnList<string>("TABLE_NAME")
				.Where(x => !x.StartsWith("MSys"))  // <-- this is an access concern 
				.ToList();
		}

		// create your data access methods as normal here
		

		
	}
Product 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 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 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.6.207-prerelease 372 12/4/2025
3.6.205-prerelease 467 11/30/2025
3.6.202-prerelease 384 11/27/2025
3.6.200 470 8/22/2025
3.6.199-prerelease 305 7/27/2025
3.5.197-prerelease 474 7/20/2025
3.5.195 1,180 5/14/2025
3.5.194-prerelease 477 5/14/2025
3.5.192-prerelease 352 5/3/2025
3.5.190-alpha 406 4/13/2025
3.5.187-prerelease 293 4/13/2025
3.4.172-prerelease 330 11/29/2024
3.4.160 1,804 11/17/2024
3.4.159-prerelease 369 10/24/2024
3.4.157 1,374 8/8/2024
3.4.156-prerelease 399 8/4/2024
3.4.154-prerelease 349 8/4/2024
3.4.152-prerelease 363 8/4/2024
3.4.149-prerelease 405 7/14/2024
3.4.147 524 6/22/2024
3.4.145-prerelease 429 5/27/2024
3.3.146 473 6/22/2024
3.3.143-prerelease 396 5/25/2024
3.3.138-prerelease 425 3/16/2024
3.3.136 1,739 2/24/2024
3.3.135-prerelease 403 2/24/2024
3.3.133-prerelease 411 2/24/2024
3.2.129 669 1/13/2024
3.2.128-prerelease 423 1/13/2024
3.2.127-prerelease 501 11/26/2023
3.2.126-prerelease 421 11/18/2023
3.2.125-prerelease 443 11/18/2023
3.1.124 588 11/17/2023
3.1.123-prerelease 430 11/17/2023
3.1.122 1,284 8/29/2023
3.1.121-prerelease 490 8/29/2023
3.1.120 657 8/14/2023
3.1.119-prerelease 574 8/14/2023
3.1.118 614 7/30/2023
3.1.117-prerelease 540 7/24/2023
3.1.116-prerelease 565 7/24/2023
3.1.115 600 6/26/2023
3.1.114-prerelease 503 6/11/2023
3.1.110 1,234 3/31/2023
3.1.109-prerelease 482 3/31/2023
3.1.108-prerelease 451 3/31/2023
3.1.107 698 3/28/2023
3.1.106-prerelease 442 3/28/2023
3.1.104 1,061 1/4/2023
3.1.103-prerelease 469 1/4/2023
3.1.102-prerelease 456 12/10/2022
3.1.101 2,667 11/21/2022
3.1.100-prerelease 449 11/13/2022
3.1.99-prerelease 458 11/5/2022
3.1.98-prerelease 949 11/2/2022
3.1.97-prerelease 468 11/2/2022
3.1.95-prerelease 480 11/1/2022
3.1.91 556 11/1/2022 3.1.91 is deprecated.
3.1.90 562 10/31/2022 3.1.90 is deprecated.
3.1.83 1,563 10/22/2022
3.0.73 1,444 10/10/2022
3.0.71 1,334 10/10/2022
3.0.69 1,467 9/14/2022
3.0.59 2,435 8/18/2022
3.0.56 1,468 8/10/2022
3.0.49 1,735 6/27/2022
3.0.48 1,505 6/14/2022
3.0.44 1,677 3/19/2022
3.0.38 1,517 3/4/2022
3.0.37 1,490 11/21/2021
3.0.35 1,120 11/3/2021
3.0.34 1,131 10/24/2021
2.2.26 1,144 2/20/2021
2.2.21 981 12/14/2020
2.2.19-CI-20200530-023939 835 5/30/2020
2.1.18-CI-20200514-060834 709 5/14/2020
2.1.16-CI-20200514-034352 549 5/14/2020
2.1.14-CI-20200131-034815 1,100 1/31/2020
1.2.3 1,590 11/28/2016
1.2.2 2,098 8/22/2016
1.2.1.19 1,643 6/16/2015
1.2.1.18 1,509 6/11/2015
1.2.1.17 1,834 5/20/2015

v3.6
- Add support filling an object that has the new required word

v.3.5
- Added build packages for .NET 9
- Added SqlStringBuilder for abstract Bulding on sql statements
- Add support TimeOnly and DateOnly in the ExecuteScalarWithConvert methods