public MongoMigration(IMigrationLocator migrationLocator, IRuntimeVersionLocator runtimeVersionLocator, ICollectionLocator collectionLocator, IStartUpVersionLocator startUpVersionLocator, IMigrationService migrationService) { _migrationLocator = migrationLocator; _runtimeVersionLocator = runtimeVersionLocator; _collectionLocator = collectionLocator; _startUpVersionLocator = startUpVersionLocator; _migrationService = migrationService; }
public VersionService( IMigrationLocator migrationLocator, IRuntimeVersionLocator runtimeVersionLocator, IStartUpVersionLocator startUpVersionLocator, IOptions <MongoMigrationSettings> mongoMigrationSettings) { _migrationLocator = migrationLocator; _runtimeVersionLocator = runtimeVersionLocator; _startUpVersionLocator = startUpVersionLocator; _versionFieldName = string.IsNullOrWhiteSpace(mongoMigrationSettings.Value.VersionFieldName) ? VERSION_FIELD_NAME : mongoMigrationSettings.Value.VersionFieldName; }
public DocumentVersionService( IMigrationLocator <IDocumentMigration> migrationLocator, IRuntimeVersionLocator runtimeVersionLocator, IStartUpVersionLocator startUpVersionLocator, IMongoMigrationSettings mongoMigrationSettings) { _migrationLocator = migrationLocator; _runtimeVersionLocator = runtimeVersionLocator; _startUpVersionLocator = startUpVersionLocator; _versionFieldName = string.IsNullOrWhiteSpace(mongoMigrationSettings.VersionFieldName) ? VERSION_FIELD_NAME : mongoMigrationSettings.VersionFieldName; }
public MongoMigration( IMigrationLocator <IDocumentMigration> documentMigrationLocator, IDatabaseTypeMigrationDependencyLocator databaseMigrationLocator, IRuntimeVersionLocator runtimeVersionLocator, ICollectionLocator collectionLocator, IStartUpVersionLocator startUpVersionLocator, IMigrationService migrationService) { _documentMigrationLocator = documentMigrationLocator; _databaseMigrationLocator = databaseMigrationLocator; _runtimeVersionLocator = runtimeVersionLocator; _collectionLocator = collectionLocator; _startUpVersionLocator = startUpVersionLocator; _migrationService = migrationService; }
public VersionService(IMigrationLocator migrationLocator, IRuntimeVersionLocator runtimeVersionLocator, IStartUpVersionLocator startUpVersionLocator) { _migrationLocator = migrationLocator; _runtimeVersionLocator = runtimeVersionLocator; _startUpVersionLocator = startUpVersionLocator; }