Table of Contents

Interface ISqlServerCdcProcessingBuilder

Namespace
Excalibur.Cdc.SqlServer
Assembly
Excalibur.Cdc.SqlServer.dll

Defines the contract for configuring SQL Server CDC processing options including schema, table naming, polling behavior, batch sizing, and command timeout.

public interface ISqlServerCdcProcessingBuilder

Methods

BatchSize(int)

Sets the batch size for CDC change processing.

ISqlServerCdcBuilder BatchSize(int size)

Parameters

size int

The batch size.

Returns

ISqlServerCdcBuilder

The builder for fluent chaining.

Exceptions

ArgumentOutOfRangeException

Thrown when size is not positive.

CommandTimeout(TimeSpan)

Sets the command timeout for database operations.

ISqlServerCdcBuilder CommandTimeout(TimeSpan timeout)

Parameters

timeout TimeSpan

The command timeout.

Returns

ISqlServerCdcBuilder

The builder for fluent chaining.

Exceptions

ArgumentOutOfRangeException

Thrown when timeout is not positive.

PollingInterval(TimeSpan)

Sets the polling interval for CDC change detection.

ISqlServerCdcBuilder PollingInterval(TimeSpan interval)

Parameters

interval TimeSpan

The polling interval.

Returns

ISqlServerCdcBuilder

The builder for fluent chaining.

Exceptions

ArgumentOutOfRangeException

Thrown when interval is not positive.

SchemaName(string)

Sets the schema name for CDC state tables.

ISqlServerCdcBuilder SchemaName(string schema)

Parameters

schema string

The schema name.

Returns

ISqlServerCdcBuilder

The builder for fluent chaining.

Exceptions

ArgumentException

Thrown when schema is null or whitespace.

StateTableName(string)

Sets the table name for CDC processing state.

ISqlServerCdcBuilder StateTableName(string tableName)

Parameters

tableName string

The table name.

Returns

ISqlServerCdcBuilder

The builder for fluent chaining.

Exceptions

ArgumentException

Thrown when tableName is null or whitespace.