protected override async void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
        {
            base.OnConfiguring(optionsBuilder);

            // Configure from the SRN namespace
            await optionsBuilder.FromSrn(_provider);
        }
Beispiel #2
0
        protected override async void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
        {
            base.OnConfiguring(optionsBuilder);

            // Configure from the SRN namespace
            _logger.LogDebug($"Configuring database for context {GetType()}.");
            await optionsBuilder.FromSrn(_provider);
        }