public OutboxPersister(IConnectionManager connectionManager, string tablePrefix, SqlDialect sqlDialect, int cleanupBatchSize = 10000) { this.connectionManager = connectionManager; this.sqlDialect = sqlDialect; this.cleanupBatchSize = cleanupBatchSize; outboxCommands = OutboxCommandBuilder.Build(sqlDialect, tablePrefix); }
public OutboxPersister(Func <DbConnection> connectionBuilder, string tablePrefix, SqlDialect sqlDialect, int cleanupBatchSize = 10000) { this.connectionBuilder = connectionBuilder; this.sqlDialect = sqlDialect; this.cleanupBatchSize = cleanupBatchSize; outboxCommands = OutboxCommandBuilder.Build(tablePrefix, sqlDialect); }
public OutboxPersister(Func <DbConnection> connectionBuilder, string tablePrefix, string schema, SqlVariant sqlVariant, int cleanupBatchSize = 10000) { this.connectionBuilder = connectionBuilder; this.cleanupBatchSize = cleanupBatchSize; outboxCommands = OutboxCommandBuilder.Build(tablePrefix, schema, sqlVariant); commandBuilder = new CommandBuilder(sqlVariant); }
public OutboxPersister(IConnectionManager connectionManager, SqlDialect sqlDialect, OutboxCommands outboxCommands, Func <ISqlOutboxTransaction> outboxTransactionFactory, int cleanupBatchSize = 10000) { this.connectionManager = connectionManager; this.sqlDialect = sqlDialect; this.outboxCommands = outboxCommands; this.outboxTransactionFactory = outboxTransactionFactory; this.cleanupBatchSize = cleanupBatchSize; }
public PessimisticConcurrencyControlStrategy(SqlDialect sqlDialect, OutboxCommands outboxCommands) { this.sqlDialect = sqlDialect; this.outboxCommands = outboxCommands; }