Fdw.Services.Multitenancy.Database
1.7.0
dotnet add package Fdw.Services.Multitenancy.Database --version 1.7.0
NuGet\Install-Package Fdw.Services.Multitenancy.Database -Version 1.7.0
<PackageReference Include="Fdw.Services.Multitenancy.Database" Version="1.7.0" />
<PackageVersion Include="Fdw.Services.Multitenancy.Database" Version="1.7.0" />
<PackageReference Include="Fdw.Services.Multitenancy.Database" />
paket add Fdw.Services.Multitenancy.Database --version 1.7.0
#r "nuget: Fdw.Services.Multitenancy.Database, 1.7.0"
#:package Fdw.Services.Multitenancy.Database@1.7.0
#addin nuget:?package=Fdw.Services.Multitenancy.Database&version=1.7.0
#tool nuget:?package=Fdw.Services.Multitenancy.Database&version=1.7.0
Fdw.Services.Multitenancy.Database
The database core of row-level security. A package of database files and MSBuild files only; it ships no assembly and depends on no code.
What it holds
- the
securityandtenantschemas, - the tables the tenancy functions read:
security.VisibilityGroup,tenant.TenantOrgAccessandtenant.UserTenantsConfiguration(who belongs to which tenant and which visibility group a row belongs to). None has a foreign key or a policy of its own, security.fn_TenantFilterandsecurity.fn_TenantWriteFilter, the filter and block predicates that nearly every package's row-level policy calls.
Why it is its own package
Every package that owns tables with a policy depends on the two functions, and the functions read the three tables. If those tables stayed in the packages whose code declares them (Fdw.Services.Users declares UserTenantsConfiguration, Fdw.Services.Authorization quotes TenantOrgAccess), the core would depend on those code packages, and so would everything else. scripts/ownership in the databases repo records the placement (tenant.UserTenantsConfiguration is a deliberate move) and checks that no package depends on itself.
Using it
A package that owns tables with a policy references this package. A host's database project then builds these files into its dacpac through the mechanism of Fdw.Schema.Database.Build. The same files are still in databases/ConfigurationDb until FDW-6923.
Part of FractalDataWorks. Licensed under Apache-2.0.
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.0
- Fdw.Schema.Database.Build (>= 1.7.0)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on Fdw.Services.Multitenancy.Database:
| Package | Downloads |
|---|---|
|
Fdw.Data.Abstractions
Development tools and utilities for the Fdw ecosystem. |
|
|
Fdw.Schema.Abstractions
Development tools and utilities for the Fdw ecosystem. |
|
|
Fdw.Services.Notifications
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.7.0 | 628 | 12/1/2026 |