CC#•Created by Colton.dart on 8/15/2024 in #help ✅ Hybrid MultiTenancy with aspnet and efcore
I personally use a BaseDbContext with all DbSets.
Then I have 3 DbSets witch deduce from the Base and only set the tennant filter and/or connection string.
If I want some data, I have an other class with a function to choose the right DbContext.