TAF.Infra.Database
1.0.2
dotnet add package TAF.Infra.Database --version 1.0.2
NuGet\Install-Package TAF.Infra.Database -Version 1.0.2
<PackageReference Include="TAF.Infra.Database" Version="1.0.2" />
<PackageVersion Include="TAF.Infra.Database" Version="1.0.2" />
<PackageReference Include="TAF.Infra.Database" />
paket add TAF.Infra.Database --version 1.0.2
#r "nuget: TAF.Infra.Database, 1.0.2"
#:package TAF.Infra.Database@1.0.2
#addin nuget:?package=TAF.Infra.Database&version=1.0.2
#tool nuget:?package=TAF.Infra.Database&version=1.0.2
Generic database connection resolution infrastructure for TAF platform.
Provides pluggable connection resolvers (Config-based and Metadata-based) with caching support.
Enables any microservice to resolve database connections without tight coupling to specific services.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | 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 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. |
-
net8.0
- Microsoft.Data.SqlClient (>= 5.2.2)
- Microsoft.Extensions.Caching.Memory (>= 9.0.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 9.0.0)
- Microsoft.Extensions.Logging.Abstractions (>= 9.0.0)
- Microsoft.Extensions.Options (>= 9.0.0)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 9.0.0)
- Npgsql (>= 8.0.5)
- TAF.Infra.Contract (>= 1.10.5)
- TAF.Infra.MassTransit (>= 2.2.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
v1.0.2: Restore per-environment fallback for DATA connections
- MetadataConnectionResolver: sentinels (metadata + identity) stay strict exact-match, but
data connections (e.g. TAB_Core / app connections) again fall back to the environment's
registered connection on an exact-id miss. This restores per-environment routing (TAB-core
tables -> PMS_DEV / PMS_QA etc.) that v1.0.1 removed too broadly, which broke queries in any
non-platform environment. The loud-failure safety is kept only for the two sentinels.
v1.0.1: Identity DB split support
- Added IDENTITY_CONNECTION_ID sentinel (routes Identity-owned AppObjects to TAF.Identity,
forced to the TAF platform environment, exact-match — env-independent like the metadata sentinel)
- MetadataConnectionResolver: removed the silent FirstOrDefault fallback for data connections;
a connection-id miss now returns null (caller throws) instead of routing to an arbitrary DB
v1.0.0: Initial release
- Moved connection resolution infrastructure from CRUD Service
- Added IConnectionMetadataProvider abstraction for flexible metadata sources
- ConfigConnectionResolver: Resolves from appsettings.json
- MetadataConnectionResolver: Resolves from metadata provider with 5-minute caching
- ConnectionResolverFactory: Config-driven resolver selection
- ConnectionHelper: Connection string building utilities
- ResolvedConnection: Pre-built connection string wrapper
- Supports SQL Server and PostgreSQL