Exemple #1
0
        protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
        {
            if (_options.LoggerFactory != null)
            {
                optionsBuilder.UseLoggerFactory(_options.LoggerFactory);
            }
            base.OnConfiguring(optionsBuilder);

            dbProvider.Configure(optionsBuilder, connectionString);
        }
 public void Initialize()
 {
     _dbProvider.Configure();
     _ormProvider.Configure();
 }