Created
November 29, 2025 10:05
-
-
Save wullemsb/ccdf2e1c84fb38d274f0f0cb00553f2f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| foreach (var database in _configuration.DatabaseConfigurations) | |
| { | |
| database.Value(services); | |
| // Register a mapping from the database key to the DbContext type | |
| ConfigurationMappings.DbContextTypes[database.Key]= _configuration.DbContextTypes[database.Key]; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment