public MigrationSeedFactory(IServiceProvider serviceProvider, IMigrationSeedsConfiguration seedsConfiguration)
 {
     _serviceProvider    = serviceProvider;
     _seedsConfiguration = seedsConfiguration;
 }
Beispiel #2
0
 public MigrationSeedFactory(IServiceProvider serviceProvider, IMigrationSeedsConfiguration seedsConfiguration)
 {
     _serviceProvider    = serviceProvider ?? throw new ArgumentNullException(nameof(serviceProvider));
     _seedsConfiguration = seedsConfiguration ?? throw new ArgumentNullException(nameof(seedsConfiguration));
 }