Acontplus.Persistence.Common 1.0.2

There is a newer version of this package available.
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
                    
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="Acontplus.Persistence.Common" Version="1.0.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Acontplus.Persistence.Common" Version="1.0.2" />
                    
Directory.Packages.props
<PackageReference Include="Acontplus.Persistence.Common" />
                    
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 Acontplus.Persistence.Common --version 1.0.2
                    
#r "nuget: Acontplus.Persistence.Common, 1.0.2"
                    
#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 Acontplus.Persistence.Common@1.0.2
                    
#: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=Acontplus.Persistence.Common&version=1.0.2
                    
Install as a Cake Addin
#tool nuget:?package=Acontplus.Persistence.Common&version=1.0.2
                    
Install as a Cake Tool

Acontplus.Persistence.Common

NuGet .NET License

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

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
1.1.6 0 8/21/2025
1.1.5 12 8/19/2025
1.1.4 90 8/8/2025
1.1.3 89 8/8/2025
1.1.2 167 8/7/2025
1.1.1 164 8/7/2025
1.1.0 167 8/7/2025
1.0.3 225 8/5/2025
1.0.2 209 8/5/2025
1.0.1 486 7/23/2025
1.0.0 487 7/23/2025

Initial release: shared repository, context factory, and connection string provider for multi-provider .NET persistence.