/// <summary> /// Initializes a new instance of the <see cref="SqlServer2005Processor"/> class. /// </summary> /// <param name="logger">The logger.</param> /// <param name="quoter">The quoter.</param> /// <param name="generator">The migration generator.</param> /// <param name="options">The processor options.</param> /// <param name="connectionStringAccessor">The connection string accessor.</param> /// <param name="batchParserFactory"></param> public SqlServer2005Processor( [NotNull] ILogger <SqlServer2005Processor> logger, [NotNull] SqlServer2005Quoter quoter, [NotNull] SqlServer2005Generator generator, [NotNull] IOptionsSnapshot <ProcessorOptions> options, [NotNull] IConnectionStringAccessor connectionStringAccessor, [NotNull] SqlServerBatchParserFactory batchParserFactory) : base(new[] { "SqlServer2005", "SqlServer" }, SqlClientFactory.Instance, generator, quoter, logger, options, connectionStringAccessor, batchParserFactory) { }
public SqlServerCeProcessor( [NotNull] SqlServerCeDbFactory factory, [NotNull] SqlServerCeGenerator generator, [NotNull] ILogger <SqlServerCeProcessor> logger, [NotNull] IOptionsSnapshot <ProcessorOptions> options, [NotNull] IConnectionStringAccessor connectionStringAccessor, [NotNull] SqlServerBatchParserFactory batchParserFactory) : base(() => factory.Factory, generator, logger, options.Value, connectionStringAccessor) { _sqlBatchParserFactory = batchParserFactory; }
/// <inheritdoc /> public Processor( [NotNull] DbProviderFactory factory, [NotNull] ILogger logger, [NotNull] SqlServer2008Quoter quoter, [NotNull] SqlServer2016Generator generator, [NotNull] IOptionsSnapshot <ProcessorOptions> options, [NotNull] IConnectionStringAccessor connectionStringAccessor, [NotNull] SqlServerBatchParserFactory batchParserFactory) : base( new[] { "SqlServer2016", "SqlServer" }, factory, logger, quoter, generator, options, connectionStringAccessor, batchParserFactory) { }
/// <summary> /// Initializes a new instance of the <see cref="SqlServer2016Processor"/> class. /// </summary> /// <param name="databaseTypes">The database type identifiers</param> /// <param name="factory">The DB provider factory.</param> /// <param name="logger">The logger.</param> /// <param name="quoter">The quoter.</param> /// <param name="generator">The migration generator.</param> /// <param name="options">The processor options.</param> /// <param name="connectionStringAccessor">The connection string accessor.</param> /// <param name="batchParserFactory">The batch parser factory.</param> protected SqlServer2016Processor( [NotNull] IEnumerable <string> databaseTypes, [NotNull] DbProviderFactory factory, [NotNull] ILogger logger, [NotNull] SqlServer2008Quoter quoter, [NotNull] SqlServer2016Generator generator, [NotNull] IOptionsSnapshot <ProcessorOptions> options, [NotNull] IConnectionStringAccessor connectionStringAccessor, [NotNull] SqlServerBatchParserFactory batchParserFactory) : base( databaseTypes, factory, generator, quoter, logger, options, connectionStringAccessor, batchParserFactory) { }