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