CodeArchitects.Platform.Data.AdoNet.DependencyInjection
10.0.1
dotnet add package CodeArchitects.Platform.Data.AdoNet.DependencyInjection --version 10.0.1
NuGet\Install-Package CodeArchitects.Platform.Data.AdoNet.DependencyInjection -Version 10.0.1
<PackageReference Include="CodeArchitects.Platform.Data.AdoNet.DependencyInjection" Version="10.0.1" />
<PackageVersion Include="CodeArchitects.Platform.Data.AdoNet.DependencyInjection" Version="10.0.1" />
<PackageReference Include="CodeArchitects.Platform.Data.AdoNet.DependencyInjection" />
paket add CodeArchitects.Platform.Data.AdoNet.DependencyInjection --version 10.0.1
#r "nuget: CodeArchitects.Platform.Data.AdoNet.DependencyInjection, 10.0.1"
#:package CodeArchitects.Platform.Data.AdoNet.DependencyInjection@10.0.1
#addin nuget:?package=CodeArchitects.Platform.Data.AdoNet.DependencyInjection&version=10.0.1
#tool nuget:?package=CodeArchitects.Platform.Data.AdoNet.DependencyInjection&version=10.0.1
CodeArchitects.Platform.Data.AdoNet.DependencyInjection
Dependency-injection wiring for the CodeArchitects.Platform.Data.AdoNet Data
Access Layer. It registers the ADO.NET data context, repositories and unit of work in the ASP.NET
Core service container via AddData, and lets you select the database provider fluently.
Installation
dotnet add package CodeArchitects.Platform.Data.AdoNet.DependencyInjection
Also add the provider package for your database (SQL Server, PostgreSQL, MySQL or Oracle).
Setup
builder.Services.AddData(cfg => cfg
.UseSqlServer(builder.Configuration.GetConnectionString("Default")));
// register your specialized repositories, e.g.:
builder.Services.AddScoped<IProductRepository, ProductRepository>();
Use the corresponding Use* method for your provider (UsePostgreSQL, UseMySQL, UseOracle, …),
provided by the respective provider package.
Related packages
CodeArchitects.Platform.Data.AdoNet— ADO.NET implementation- Providers: SQL Server · PostgreSQL · MySQL · Oracle
License
Licensed under the Apache License 2.0.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net7.0 is compatible. 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. |
-
net7.0
- CodeArchitects.Platform.Data.AdoNet (>= 10.0.1)
- Microsoft.Extensions.Caching.Memory (>= 8.0.1)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 8.0.2)
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 |
|---|---|---|
| 10.0.1 | 127 | 7/14/2026 |