Skip to content
Sample project that uses the nHydrate modeler to define a multi-tenant entity model.
C# PLSQL TSQL
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Acme.MultiTenant.API
Acme.MultiTenant.EFDAL
Acme.MultiTenant.Install
ConsoleApp1
.gitignore
EFCoreMultiTenant.sln
README.md

README.md

Entity Framework Core Mult-Tenant Example

This sample project uses the nHydrate modeler to define a multi-tenant entity model. Tenant access is controlled using connection strings. Each tenant has a unique database user. The code shows how to create a SQL Server user and use it to manage database entities with no data bleed. A tenant's data cannot "bleed" to other tenants. A Where statement is not necessary to limit tenant data. The framework handles all permissions to tenant data to ensure that bleed does not occur. In fact, it is not possible to query data across tenants.

You can’t perform that action at this time.