Class SqlIdempotentOptions

Assembly: redb.Route.Sql.dll

Configuration for .

public sealed class SqlIdempotentOptions

Inheritance

Object→SqlIdempotentOptions

Properties

CreateTable

Auto-create the table on first use. Default: true.

public bool CreateTable { get; set; }

DataSource

Named data source from the registry.

public string DataSource { get; set; }

ProcessorName

Scope identifier (route id). Allows multiple routes to share one table.

public string ProcessorName { get; set; }

TableName

Table name for storing idempotent keys. Default: "redb_idempotent". The name goes into DDL and statements as written,

public string TableName { get; set; }

Ttl

Auto-cleanup: delete entries older than TTL. Null = no cleanup.

public TimeSpan? Ttl { get; set; }