public DatabaseConnectionStringFactory(IConfiguration config, IOptions <DbOptions> options)
 {
     _config   = config;
     _dbOption = options.Value;
 }
Exemple #2
0
 public DbConnStringFactory(IOptions <DbOptions> options)
 {
     DbOptions = options.Value;
 }
Exemple #3
0
 public DbContextOptionsBuilderFactory(IOptions <DbOptions> options)
 {
     _options = options.Value ?? new DbOptions();
 }
 public DatabaseConnectionStringFactory(IOptions <DbOptions> options)
 {
     DbOptions = options.Value;
 }