Ejemplo n.º 1
0
        public Migrator(ITransformationProvider provider, Assembly migrationAssembly, bool trace, ILogger logger)
        {
            _provider = provider;
            Logger = logger;

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

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

            _migrationLoader = new MigrationLoader(provider, migrationAssembly, trace);
            _migrationLoader.CheckForDuplicatedVersion();
        }
Ejemplo n.º 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();
        }