fullstackhero / dotnet-starter-kit

Production Grade Cloud-Ready .NET 8 Starter Kit (Web API + Blazor Client) with Multitenancy Support, and Clean/Modular Architecture that saves roughly 200+ Development Hours! All Batteries Included.
https://fullstackhero.net/dotnet-webapi-boilerplate/
MIT License
5.04k stars 1.5k forks source link

[Feature request v2] Supporting Database Type Conversion for Tenants in EF Core #947

Closed wibu009 closed 2 months ago

wibu009 commented 2 months ago

Is it possible to enable database type conversion for different tenants in EF Core? Ideally, tenants could select their preferred database type. With EF Core, creating separate migration sets for each type seems achievable. I attempted adding a "database provider" field to tenant information and using it, but this conflicts with the CacheStore mechanism. I'm unsure how to resolve this issue?

ElAmen commented 2 months ago

Am curious to learn how this will be achieved 🙏🏾

wibu009 commented 2 months ago

I did something similar in v1 of my repository. However, I don't have permission to merge with the v1 repository yet. You can consult it, but I'm not sure how accurate the information will be