public SqlServer2016Processor(ILogger logger,
                               SqlServer2016Generator generator,
                               ProcessorOptions options)
     : base(new[] {
     "SqlServer2016",
     "SqlServer"
 }, generator, logger, options)
 {
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="SqlServer2016Processor"/> 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">The batch parser factory.</param>
 public SqlServer2016Processor(
     [NotNull] ILogger <SqlServer2016Processor> logger,
     [NotNull] SqlServer2008Quoter quoter,
     [NotNull] SqlServer2016Generator generator,
     [NotNull] IOptionsSnapshot <ProcessorOptions> options,
     [NotNull] IConnectionStringAccessor connectionStringAccessor,
     [NotNull] SqlServerBatchParserFactory batchParserFactory)
     : base(new[] { "SqlServer2016", "SqlServer" }, SqlClientFactory.Instance, generator, quoter, logger, options, connectionStringAccessor, batchParserFactory)
 {
 }
Beispiel #3
0
 public SqlServerTestingProcessor(IDbConnection connection,
                                  SqlServer2016Generator generator,
                                  SqlServer2008Quoter quoter,
                                  ILogger <SqlServer2016Processor> logger,
                                  IOptionsSnapshot <ProcessorOptions> options,
                                  IConnectionStringAccessor connectionStringAccessor,
                                  IServiceProvider serviceProvider) : base(
         logger,
         quoter,
         generator,
         options,
         connectionStringAccessor,
         serviceProvider)
 {
     Connection = connection;
 }
 public SqlServer2016Processor(
     [NotNull] ILogger <SqlServer2016Processor> logger,
     [NotNull] SqlServer2008Quoter quoter,
     [NotNull] SqlServer2016Generator generator,
     [NotNull] IOptionsSnapshot <ProcessorOptions> options,
     [NotNull] IConnectionStringAccessor connectionStringAccessor,
     [NotNull] IServiceProvider serviceProvider)
     : this(
         SqlClientFactory.Instance,
         logger,
         quoter,
         generator,
         options,
         connectionStringAccessor,
         serviceProvider)
 {
 }
 protected SqlServer2016Processor(
     [NotNull] DbProviderFactory factory,
     [NotNull] ILogger logger,
     [NotNull] SqlServer2008Quoter quoter,
     [NotNull] SqlServer2016Generator generator,
     [NotNull] IOptionsSnapshot <ProcessorOptions> options,
     [NotNull] IConnectionStringAccessor connectionStringAccessor,
     [NotNull] IServiceProvider serviceProvider)
     : base(
         new[] { "SqlServer2016", "SqlServer" },
         factory,
         generator,
         quoter,
         logger,
         options,
         connectionStringAccessor,
         serviceProvider)
 {
 }
Beispiel #6
0
 /// <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)
 {
 }
 /// <inheritdoc />
 public Processor([NotNull] DbProviderFactory factory, [NotNull] ILogger logger, [NotNull] SqlServer2008Quoter quoter, [NotNull] SqlServer2016Generator generator, [NotNull] IOptions <ProcessorOptions> options, [NotNull] IConnectionStringAccessor connectionStringAccessor, [NotNull] IServiceProvider serviceProvider)
     : base(factory, logger, quoter, generator, options, connectionStringAccessor, serviceProvider)
 {
 }