public MigrationSeedFactory(IServiceProvider serviceProvider, IMigrationSeedsConfiguration seedsConfiguration)
 {
     _serviceProvider    = serviceProvider;
     _seedsConfiguration = seedsConfiguration;
 }
Exemplo n.º 2
0
 public MigrationSeedFactory(IServiceProvider serviceProvider, IMigrationSeedsConfiguration seedsConfiguration)
 {
     _serviceProvider    = serviceProvider ?? throw new ArgumentNullException(nameof(serviceProvider));
     _seedsConfiguration = seedsConfiguration ?? throw new ArgumentNullException(nameof(seedsConfiguration));
 }