entityframework-dotnet-hybrid
CommunityImplement flexible hybrid EF multitenancy for shared and dedicated tenant DBs.
System Documentation
What problem does it solve?
This skill addresses the challenge of implementing flexible multitenancy patterns for ASP.NET Core applications using Entity Framework Core, where different tenant tiers require either cost-effective shared database access or isolated dedicated databases for compliance and performance, eliminating the need to build and maintain separate multitenancy implementations for each scenario.
Core Features & Use Cases
- Hybrid Tenant Database Support: Configure a master tenant registry to route tenants to either a shared database connection pool or individual dedicated databases based on tenant tier or requirements.
- Tenant Isolation Guardrails: Enforce mandatory ITenantEntity and TenantId usage for all tenants accessing the shared database pool to prevent cross-tenant data leakage.
- Streamlined Migration Workflows: Provides clear, separate migration steps for the master tenant registry, shared database pool, and individual dedicated tenant databases to ensure schema consistency.
- Use Case: A SaaS platform serving small business clients on a shared cost-effective database pool, while enterprise clients receive isolated dedicated databases to meet strict data residency and performance requirements.
Quick Start
Use the entityframework-dotnet-hybrid skill to configure hybrid multitenancy for your Jarvis ASP.NET Core application with a master tenant registry, shared database connection pool, and dedicated per-tenant databases.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: entityframework-dotnet-hybrid Download link: https://github.com/hoangnh2412/jarvis/archive/main.zip#entityframework-dotnet-hybrid Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 536,000+ vetted skills library on demand.