Senparc.Ncf.Database 0.21.5-preview5

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

Senparc.Ncf.Database

Senparc.Ncf.Database is the provider-independent database foundation for NCF and XNCF modules.

Features

  • Defines DatabaseConfigurationBase, IDatabaseConfiguration, provider selection, and connection configuration contracts.
  • Coordinates XNCF DbContext pools and multi-database migration metadata.
  • Provides database helpers, migration attributes, and common registration/application hooks.

Installation

<PackageReference Include="Senparc.Ncf.Database" Version="0.26.0-preview3" />

Key API

  • Register.UseNcfDatabase(IApplicationBuilder, IDatabaseConfiguration) selects the active provider.
  • DatabaseConfigurationBase.UseDatabase(...) applies a connection string and module migration configuration.
  • MultipleDatabasePool and XncfDatabaseDbContextPool map XNCF registers to provider-specific contexts.
  • NcfDatabaseHelper.GetCurrentConnectionInfo() and TryGetConnectionValue(...) inspect the active connection configuration.

This package contains the abstraction and orchestration layer. Add exactly the provider package required by the host, then configure connection strings and migrations explicitly.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  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 (12)

Showing the top 5 NuGet packages that depend on Senparc.Ncf.Database:

Package Downloads
Senparc.Ncf.XncfBase

Senparc.Ncf.XncfBase

Senparc.Ncf.DatabasePlant

Senparc.Ncf.DatabasePlant 数据库组装厂。 一般只在开发环境下对数据库修改时使用,因此可以添加条件编译符号,如: <PackageReference Condition=" 'Release' != 'Release' " Include="Senparc.Ncf.DatabasePlant" Version="0.2.200.102-beta1" />

Senparc.Ncf.Database.MySql

Senparc.Ncf.Database.MySql

Senparc.Ncf.Database.SqlServer

Senparc.Ncf.Database.SqlServer

Senparc.Ncf.Database.Sqlite

Senparc.Ncf.Database.Sqlite

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.21.6-preview6 122 8/8/2026
0.21.5-preview5 273 8/3/2026
0.21.4-preview4 244 7/31/2026
0.21.3-preview3 232 7/28/2026
0.21.2-preview2 248 7/26/2026
0.21.1-preview1 387 6/17/2026
0.20.4.1-preview 288 5/9/2026
0.20.3-preview.1 168 2/13/2026
0.20.2.4-preview 182 12/28/2025
0.20.2.2-preview 161 12/28/2025
0.20.2-preview.1 254 11/1/2025
0.20.2-preview 237 6/16/2026
0.20.0.4-preview1 317 8/20/2025
0.20.0.2-preview1 250 8/18/2025
0.20.0.1-preview1 270 7/14/2025
0.20.0-preview1 192 7/13/2025
0.19.8.3-preview1 335 7/2/2025
0.19.8.2-preview1 297 7/2/2025
0.19.8.1-preview1 377 6/6/2025
0.19.8-preview1 426 4/29/2025
Loading failed

v0.1.0 创世
[2024-09-10] v0.18.4-preview1 升级缓存基础库
[2025-01-25] v0.19.5-preview1 Update Agents functions, support for function calling
[2025-04-29] v0.19.7-preview1 Update CO2NET and AIKernel
[2025-04-29] v0.19.8-preview1 Update CO2NET and AIKernel
[2025-07-13] v0.20.0-preview1 feat: Add UseNcfDatabaseSetted field and update logic
[2025-11-01] update basic libraries, including Senparc.AI
[2026-07-17] v0.21.2-preview2 同步上游项目版本并适配统一本地化能力
1、Dependency update from Senparc.Ncf.Core to 0.25.0-preview2
2、Dependency update from Senparc.Ncf.Utility to 0.21.0-preview2
[2026-07-29] v0.21.3-preview3 Dependency update from Senparc.Ncf.Core to 0.26.0-preview3
[2026-07-31] v0.21.4-preview4 升级 CO2NET 4.2.0 基础依赖
1、升级 Senparc.CO2NET 至 4.2.0 并保持现有项目行为兼容
[2026-08-04] v0.21.5-preview5 Dependency update from Senparc.Ncf.Core to 0.28.0-preview5