Hi guys, today we are going to see how we can separate our configurations and apply only the ones we want to each dbContext, by manually scanning our assembly. We are going to use a lot of reflection and generics, including creation and invocation of generic methods.
00:00 : What are we trying to achieve and the problem
01:38 : Marking our configurations
03:45 : Scanning our assembly and applying the configurations automatically
14:15 : What we did in action
How to create multiple DbContexts that target the same database and tables: • How to create multiple DbContexts tha...