Fdw.Services.Multitenancy.Sql
1.0.0-rc.4
dotnet add package Fdw.Services.Multitenancy.Sql --version 1.0.0-rc.4
NuGet\Install-Package Fdw.Services.Multitenancy.Sql -Version 1.0.0-rc.4
<PackageReference Include="Fdw.Services.Multitenancy.Sql" Version="1.0.0-rc.4" />
<PackageVersion Include="Fdw.Services.Multitenancy.Sql" Version="1.0.0-rc.4" />
<PackageReference Include="Fdw.Services.Multitenancy.Sql" />
paket add Fdw.Services.Multitenancy.Sql --version 1.0.0-rc.4
#r "nuget: Fdw.Services.Multitenancy.Sql, 1.0.0-rc.4"
#:package Fdw.Services.Multitenancy.Sql@1.0.0-rc.4
#addin nuget:?package=Fdw.Services.Multitenancy.Sql&version=1.0.0-rc.4&prerelease
#tool nuget:?package=Fdw.Services.Multitenancy.Sql&version=1.0.0-rc.4&prerelease
Fdw.Services.Multitenancy.Sql
SQL Server-backed tenancy: tenant resolution, the request middleware that establishes it, and the session context it sets.
A TypeCollection and its options — an extensible enum. Members are discovered at compile time and reachable by ByName / ById / All; a lookup that finds nothing returns a NotFound sentinel rather than null, so a caller never has to null-check a lookup.
A module initializer collects every [TypeOption] in every referenced assembly and dedupes them into the collection at load. Adding a member is a package reference plus a declaration — the collection itself is never edited.
Collections
| Type | Kind | Purpose |
|---|---|---|
SqlTenantResultCodes |
class | TypeCollection for SQL Tenant result codes. Codes use the categorized-number scheme (Id == EventId ==… |
Options (12 declared)
| Type | Kind | Purpose |
|---|---|---|
ActiveTenantsQueryFailedCode |
class | Active tenants query failed. |
AllTenantsQueryFailedCode |
class | All tenants query failed. |
InvalidUserIdFormatCode |
class | Invalid user ID format. |
TenantAccessValidationFailedCode |
class | Tenant access validation failed. |
TenantNotFoundCode |
class | Tenant not found by ID. |
TenantQueryFailedCode |
class | Tenant query by ID failed. |
TenantResolutionFailedCode |
class | Tenant resolution failed. |
TenantSlugNotFoundCode |
class | Tenant not found by slug. |
TenantSlugQueryFailedCode |
class | Tenant query by slug failed. |
TenantSlugRequiredCode |
class | Tenant slug is required but not provided. |
UserIdRequiredCode |
class | User ID is required but not provided. |
SqlTenantProviderConfigurationCommand |
class | — |
Installation
dotnet add package Fdw.Services.Multitenancy.Sql --prerelease
Dependencies
Fdw.Collections · Fdw.Commands.Data · Fdw.Commands.Data.Extensions · Fdw.Configuration · Fdw.Data.Abstractions · Fdw.Hosting.Abstractions · Fdw.Results · Fdw.Services.Authentication.Abstractions · Fdw.Services.Authorization · Fdw.Services.Data.Abstractions · Fdw.Services.Multitenancy · Fdw.Services.Multitenancy.Abstractions
Build-time only (generators and analyzers, not runtime dependencies): Fdw.Collections.SourceGenerators · Fdw.Configuration.SourceGenerators · Fdw.Data.SourceGenerators · Fdw.MessageLogging.SourceGenerators
Part of FractalDataWorks 1.0.0-rc.1. Licensed under Apache-2.0.
| Product | Versions 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. |
-
net10.0
- ColorHelper (>= 1.8.1)
- Cronos (>= 0.13.0)
- Fdw.Collections (>= 1.0.0-rc.4)
- Fdw.Commands.Data (>= 1.0.0-rc.4)
- Fdw.Commands.Data.Extensions (>= 1.0.0-rc.4)
- Fdw.Configuration (>= 1.0.0-rc.4)
- Fdw.Data.Abstractions (>= 1.0.0-rc.4)
- Fdw.Hosting.Abstractions (>= 1.0.0-rc.4)
- Fdw.Results (>= 1.0.0-rc.4)
- Fdw.Services.Authentication.Abstractions (>= 1.0.0-rc.4)
- Fdw.Services.Authorization (>= 1.0.0-rc.4)
- Fdw.Services.Data.Abstractions (>= 1.0.0-rc.4)
- Fdw.Services.Multitenancy (>= 1.0.0-rc.4)
- Fdw.Services.Multitenancy.Abstractions (>= 1.0.0-rc.4)
- FluentValidation (>= 12.1.1)
- FluentValidation.DependencyInjectionExtensions (>= 12.1.1)
- Microsoft.AspNetCore.Cryptography.KeyDerivation (>= 10.0.10)
- Microsoft.AspNetCore.Http (>= 2.3.10)
- Microsoft.AspNetCore.Http.Abstractions (>= 2.3.10)
- Microsoft.Bcl.AsyncInterfaces (>= 10.0.10)
- Microsoft.Bcl.HashCode (>= 6.0.0)
- Microsoft.Extensions.Caching.Abstractions (>= 10.0.10)
- Microsoft.Extensions.Caching.Memory (>= 10.0.10)
- Microsoft.Extensions.Configuration (>= 10.0.10)
- Microsoft.Extensions.Configuration.Abstractions (>= 10.0.10)
- Microsoft.Extensions.Configuration.Binder (>= 10.0.10)
- Microsoft.Extensions.Configuration.EnvironmentVariables (>= 10.0.10)
- Microsoft.Extensions.Configuration.Json (>= 10.0.10)
- Microsoft.Extensions.DependencyInjection (>= 10.0.10)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.10)
- Microsoft.Extensions.Diagnostics.HealthChecks (>= 10.0.10)
- Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions (>= 10.0.10)
- Microsoft.Extensions.Hosting.Abstractions (>= 10.0.10)
- Microsoft.Extensions.Identity.Core (>= 10.0.10)
- Microsoft.Extensions.Logging (>= 10.0.10)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.10)
- Microsoft.Extensions.Options (>= 10.0.10)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 10.0.10)
- Microsoft.Extensions.Options.DataAnnotations (>= 10.0.10)
- Microsoft.OData.Edm (>= 8.4.3)
- Microsoft.OpenApi.Readers (>= 1.6.29)
- Polly.Core (>= 8.6.6)
- Serilog (>= 4.3.1)
- System.ComponentModel.Annotations (>= 5.0.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Fdw.Services.Multitenancy.Sql:
| Package | Downloads |
|---|---|
|
Fdw.Hosting
Development tools and utilities for the Fdw ecosystem. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.0-rc.4 | 182 | 8/19/2026 |
| 1.0.0-rc.3 | 208 | 8/17/2026 |
| 1.0.0-rc.1 | 75 | 8/10/2026 |