public override IMigrationProcessor Create(string connectionString, IAnnouncer announcer, IMigrationProcessorOptions options)
        {
            var factory    = new MySqlDbFactory();
            var connection = factory.CreateConnection(connectionString);

            return(new MySqlProcessor(connection, new MySql5Generator(), announcer, options, factory));
        }
        public override IMigrationProcessor Create(string connectionString, IAnnouncer announcer, IMigrationProcessorOptions options)
        {
            var factory       = new MySqlDbFactory(_serviceProvider);
            var connection    = factory.CreateConnection(connectionString);
            var quoterOptions = new OptionsWrapper <QuoterOptions>(new QuoterOptions());

            return(new MySqlProcessor(connection, new MySql5Generator(new MySqlQuoter(quoterOptions)), announcer, options, factory));
        }
 protected MySqlProcessor(
     [NotNull] MySqlDbFactory factory,
     [NotNull] IMigrationGenerator generator,
     [NotNull] ILogger <MySqlProcessor> logger,
     [NotNull] IOptionsSnapshot <ProcessorOptions> options,
     [NotNull] IConnectionStringAccessor connectionStringAccessor)
     : base(() => factory.Factory, generator, logger, options.Value, connectionStringAccessor)
 {
 }
 /// <inheritdoc />
 public MySql4Processor(
     [NotNull] MySqlDbFactory factory,
     [NotNull] MySql4Generator generator,
     [NotNull] ILogger <MySql4Processor> logger,
     [NotNull] IOptionsSnapshot <ProcessorOptions> options,
     [NotNull] IConnectionStringAccessor connectionStringAccessor) : base(
         factory,
         generator,
         logger,
         options,
         connectionStringAccessor)
 {
 }
 public override IMigrationProcessor Create(string connectionString, IAnnouncer announcer, IMigrationProcessorOptions options)
 {
     var factory = new MySqlDbFactory();
     var connection = factory.CreateConnection(connectionString);
     return new MySqlProcessor(connection, new MySqlGenerator(), announcer, options, factory);
 }