TCIS.Pluggable.Persistence.SqlServer
1.0.0-rc.9
dotnet add package TCIS.Pluggable.Persistence.SqlServer --version 1.0.0-rc.9
NuGet\Install-Package TCIS.Pluggable.Persistence.SqlServer -Version 1.0.0-rc.9
<PackageReference Include="TCIS.Pluggable.Persistence.SqlServer" Version="1.0.0-rc.9" />
<PackageVersion Include="TCIS.Pluggable.Persistence.SqlServer" Version="1.0.0-rc.9" />
<PackageReference Include="TCIS.Pluggable.Persistence.SqlServer" />
paket add TCIS.Pluggable.Persistence.SqlServer --version 1.0.0-rc.9
#r "nuget: TCIS.Pluggable.Persistence.SqlServer, 1.0.0-rc.9"
#:package TCIS.Pluggable.Persistence.SqlServer@1.0.0-rc.9
#addin nuget:?package=TCIS.Pluggable.Persistence.SqlServer&version=1.0.0-rc.9&prerelease
#tool nuget:?package=TCIS.Pluggable.Persistence.SqlServer&version=1.0.0-rc.9&prerelease
TCIS.Pluggable.Persistence.SqlServer
The library providing SQL Server connection infrastructure for TCIS, supporting a Tri-Tier Multi-tenancy architecture (Tier 1: RLS, Tier 2: Schema, Tier 3: Database) via the SqlServerRlsConnectionInitializer.
📦 Installation
dotnet add package TCIS.Pluggable.Persistence.SqlServer
🚀 Registration / Setup (Program.cs)
Register the SQL Server Provider along with AddPluggableDbContext:
using TCIS.Pluggable.Persistence.SqlServer;
var builder = WebApplication.CreateBuilder(args);
// Register the Pluggable DbContext with the SQL Server provider
builder.Services.AddPluggableSqlServer<MyDbContext>(builder.Configuration, "DefaultConnection");
💡 Multi-Tenancy Support
Database connections will be wrapped by TenantAwareDbConnection, which automatically sets the session context (SESSION_CONTEXT) when .Open() is called, ensuring Row-Level Security (RLS) is applied based on the ITenantContext.
| 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
- Dapper (>= 2.1.66)
- Microsoft.Bcl.Memory (>= 10.0.7)
- Microsoft.Data.SqlClient (>= 5.2.2)
- Microsoft.EntityFrameworkCore (>= 8.0.13)
- Microsoft.EntityFrameworkCore.Relational (>= 8.0.13)
- Microsoft.EntityFrameworkCore.SqlServer (>= 8.0.0)
- Microsoft.Extensions.Caching.Abstractions (>= 8.0.0)
- Microsoft.Extensions.Caching.Memory (>= 8.0.1)
- Microsoft.Extensions.Configuration (>= 9.0.0)
- Microsoft.Extensions.Configuration.Abstractions (>= 9.0.0)
- Microsoft.Extensions.Configuration.Binder (>= 9.0.0)
- Microsoft.Extensions.DependencyInjection (>= 9.0.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 9.0.0)
- Microsoft.Extensions.Hosting.Abstractions (>= 9.0.0)
- Microsoft.Extensions.Http (>= 9.0.0)
- Microsoft.Extensions.Logging (>= 9.0.0)
- Microsoft.Extensions.Logging.Abstractions (>= 9.0.0)
- Microsoft.Extensions.Options (>= 9.0.0)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 9.0.0)
- Microsoft.Extensions.Options.DataAnnotations (>= 8.0.0)
- Microsoft.IdentityModel.JsonWebTokens (>= 8.4.0)
- System.IdentityModel.Tokens.Jwt (>= 8.4.0)
- TCIS.Core (>= 1.0.0-rc.9)
- TCIS.MultiTenancy (>= 1.0.0-rc.9)
- TCIS.Pluggable.Persistence.EntityFrameworkCore (>= 1.0.0-rc.9)
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 |
|---|---|---|
| 1.0.0-rc.9 | 26 | 7/21/2026 |
| 1.0.0-rc.8 | 21 | 7/21/2026 |
| 1.0.0-rc.7 | 46 | 7/17/2026 |
| 1.0.0-rc.6 | 53 | 7/7/2026 |
| 1.0.0-rc.5 | 62 | 7/7/2026 |