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