Acontplus.Persistence.Common
1.0.2
See the version list below for details.
dotnet add package Acontplus.Persistence.Common --version 1.0.2
NuGet\Install-Package Acontplus.Persistence.Common -Version 1.0.2
<PackageReference Include="Acontplus.Persistence.Common" Version="1.0.2" />
<PackageVersion Include="Acontplus.Persistence.Common" Version="1.0.2" />
<PackageReference Include="Acontplus.Persistence.Common" />
paket add Acontplus.Persistence.Common --version 1.0.2
#r "nuget: Acontplus.Persistence.Common, 1.0.2"
#:package Acontplus.Persistence.Common@1.0.2
#addin nuget:?package=Acontplus.Persistence.Common&version=1.0.2
#tool nuget:?package=Acontplus.Persistence.Common&version=1.0.2
Acontplus.Persistence.Common
Common persistence abstractions and infrastructure for Acontplus .NET libraries. Includes generic repository, context factory, connection string provider, and mapping utilities for multi-provider support (SQL Server, PostgreSQL, etc).
🚀 Features
- Generic repository and context factory patterns
- Connection string provider abstraction and implementation
- Designed for multi-tenant, sharded, and cloud-native scenarios
- .NET 9+ compatible
📦 Installation
NuGet Package Manager
Install-Package Acontplus.Persistence.Common
.NET CLI
dotnet add package Acontplus.Persistence.Common
PackageReference
<ItemGroup>
<PackageReference Include="Acontplus.Persistence.Common" Version="1.0.0" />
</ItemGroup>
🎯 Quick Start
1. Register in DI
services.AddSingleton<IConnectionStringProvider, ConfigurationConnectionStringProvider>();
services.AddSingleton<IDbContextFactory<MyDbContext>, DbContextFactory<MyDbContext>>();
2. Use in Your Code
var contextFactory = serviceProvider.GetRequiredService<IDbContextFactory<MyDbContext>>();
var dbContext = contextFactory.GetContext("TenantA");
var connProvider = serviceProvider.GetRequiredService<IConnectionStringProvider>();
var connString = connProvider.GetConnectionString("DefaultConnection");
📄 License
This project is licensed under the MIT License - see the LICENSE file for details.
👨💻 Author
Ivan Paz - @iferpaz7
🏢 Company
Acontplus S.A.S. - Enterprise software solutions
Built with ❤️ for the .NET community
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | 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. |
-
net9.0
- Acontplus.Core (>= 1.3.2)
- Microsoft.EntityFrameworkCore (>= 9.0.7)
- Microsoft.Extensions.Configuration.Abstractions (>= 9.0.7)
- Microsoft.Extensions.DependencyInjection (>= 9.0.7)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 9.0.7)
- Microsoft.Extensions.Logging.Abstractions (>= 9.0.7)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Acontplus.Persistence.Common:
| Package | Downloads |
|---|---|
|
Acontplus.Persistence.SqlServer
Advanced library for SQL Server persistence with Entity Framework Core integration. Includes repositories, context management, ADO.NET support, advanced error handling, and enterprise-ready data access patterns for SQL Server databases. |
|
|
Acontplus.Persistence.PostgreSQL
Advanced library for PostgreSQL persistence with Entity Framework Core integration. Includes repositories, context management, ADO.NET support, advanced error handling, and enterprise-ready data access patterns for PostgreSQL databases. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2.0.9 | 131 | 1/16/2026 |
| 2.0.8 | 147 | 1/11/2026 |
| 2.0.7 | 251 | 12/25/2025 |
| 2.0.6 | 500 | 12/16/2025 |
| 2.0.5 | 204 | 12/11/2025 |
| 2.0.4 | 190 | 12/5/2025 |
| 2.0.3 | 219 | 12/4/2025 |
| 2.0.2 | 216 | 12/3/2025 |
| 2.0.1 | 217 | 11/28/2025 |
| 2.0.0 | 215 | 11/23/2025 |
| 1.2.3 | 425 | 11/17/2025 |
| 1.2.2 | 431 | 11/17/2025 |
| 1.2.1 | 372 | 11/17/2025 |
| 1.2.0 | 308 | 11/10/2025 |
| 1.1.17 | 316 | 11/5/2025 |
| 1.1.16 | 229 | 11/5/2025 |
| 1.1.15 | 224 | 10/23/2025 |
| 1.1.14 | 212 | 9/26/2025 |
| 1.1.13 | 236 | 9/25/2025 |
| 1.1.12 | 215 | 9/24/2025 |
| 1.1.11 | 272 | 9/14/2025 |
| 1.1.10 | 285 | 9/14/2025 |
| 1.1.9 | 265 | 9/14/2025 |
| 1.1.8 | 229 | 9/10/2025 |
| 1.1.7 | 217 | 9/9/2025 |
| 1.1.6 | 261 | 8/21/2025 |
| 1.1.5 | 229 | 8/19/2025 |
| 1.1.4 | 219 | 8/8/2025 |
| 1.1.3 | 189 | 8/8/2025 |
| 1.1.2 | 292 | 8/7/2025 |
| 1.1.1 | 270 | 8/7/2025 |
| 1.1.0 | 272 | 8/7/2025 |
| 1.0.3 | 301 | 8/5/2025 |
| 1.0.2 | 273 | 8/5/2025 |
| 1.0.1 | 607 | 7/23/2025 |
| 1.0.0 | 586 | 7/23/2025 |
Initial release: shared repository, context factory, and connection string provider for multi-provider .NET persistence.