public MongoMigrationStrategyDrop(HangfireDbContext dbContext, MongoStorageOptions storageOptions, MongoMigrationRunner migrationRunner) : base(dbContext, storageOptions, migrationRunner) { }
protected MongoMigrationStrategyBase(IMongoDatabase database, MongoStorageOptions storageOptions, MongoMigrationRunner migrationRunner) { _database = database; _storageOptions = storageOptions; _migrationRunner = migrationRunner; }
protected virtual void Migrate(MongoSchema fromSchema, MongoSchema toSchema) { var migrationRunner = new MongoMigrationRunner(_dbContext, _storageOptions); migrationRunner.Execute(fromSchema, toSchema); }
public MongoMigrationStrategyDrop(IMongoDatabase database, MongoStorageOptions storageOptions, MongoMigrationRunner migrationRunner) : base(database, storageOptions, migrationRunner) { }
protected MongoMigrationStrategyBase(HangfireDbContext dbContext, MongoStorageOptions storageOptions, MongoMigrationRunner migrationRunner) { _dbContext = dbContext; _storageOptions = storageOptions; _migrationRunner = migrationRunner; }