/// <inheritdoc /> public SeedAwareMigrationsAssembly( ICurrentDbContext currentContext, IDbContextOptions options, IMigrationsIdGenerator idGenerator, IDiagnosticsLogger <DbLoggerCategory.Migrations> logger) : base(currentContext, options, idGenerator, logger) { _env = currentContext.Context.GetService <IHostingEnvironment>(); _seedFactory = currentContext.Context.GetService <IMigrationSeedFactory>(); }
/// <inheritdoc /> public SeedAwareMigrationsAssembly( ICurrentDbContext currentContext, IDbContextOptions options, IMigrationsIdGenerator idGenerator, IDiagnosticsLogger <DbLoggerCategory.Migrations> logger) : base(currentContext, options, idGenerator, logger) { _seedSpecs = currentContext.Context.GetService <IMigrationSeedsApplicabilitySpecification>(); _seedFactory = currentContext.Context.GetService <IMigrationSeedFactory>(); }