public Migrator(ITransformationProvider provider, Assembly migrationAssembly, bool trace, ILogger logger)
        {
            _provider = provider;
            Logger = logger;

            _migrationLoader = new MigrationLoader(provider, migrationAssembly, trace);
            _migrationLoader.CheckForDuplicatedVersion();
        }
Exemple #2
0
        public Migrator(ITransformationProvider provider, ILogger logger, MigrationLoader migrationLoader)
        {
            _provider = provider;
            Logger    = logger;

            _migrationLoader = migrationLoader;
            _migrationLoader.CheckForDuplicatedVersion();
        }
Exemple #3
0
        public Migrator(ITransformationProvider provider, Assembly migrationAssembly, bool trace, ILogger logger)
        {
            _provider = provider;
            Logger    = logger;

            _migrationLoader = new MigrationLoader(provider, migrationAssembly, trace);
            _migrationLoader.CheckForDuplicatedVersion();
        }
Exemple #4
0
        public Migrator(ITransformationProvider provider, bool trace, ILogger logger, params Type[] migrationTypes)
        {
            _provider = provider;
            Logger    = logger;

            _migrationLoader = new MigrationLoader(provider, trace, migrationTypes);
            _migrationLoader.CheckForDuplicatedVersion();
        }