Table of Contents

Class CdcTableConfig

Namespace
Excalibur.Cdc
Assembly
Excalibur.Cdc.dll

Bindable configuration for a single CDC-tracked table.

public class CdcTableConfig
Inheritance
CdcTableConfig
Derived
Inherited Members

Remarks

This is a pure configuration POCO (no behavior — no delegates, factories, or Type maps) so it binds cleanly from IConfiguration and is trim/AOT-safe.

It is the shared shape for both CDC configuration paths: the fluent builder's CdcTableTrackingOptions derives from it, and the config-driven job path (DatabaseConfigs[].Tables) binds to it directly. This guarantees handlers identify tables by the same logical TableName regardless of how CDC was configured.

Properties

CaptureInstance

Gets or sets the SQL Server CDC capture instance name (e.g. dbo_Account).

public string? CaptureInstance { get; set; }

Property Value

string

The capture instance name. When null or empty, the capture instance is assumed to equal TableName. Set this when the capture instance differs from the logical table name — for example the SQL Server default {schema}_{table} (dbo_Account) for a table whose logical name is Account.

TableName

Gets or sets the logical (consumer-facing) table name, e.g. Account or dbo.Account.

[Required]
public string TableName { get; set; }

Property Value

string

The logical table name. This is the value handlers match via IDataChangeHandler.TableNames.