Skip to content

Class SqlServerDataEngineBuilderExtensions

Namespace: Cephalon.Data.SqlServer.Registration
Assembly: Cephalon.Data.SqlServer.dll

Registers the SQL Server CDC companion pack with an .

public static class SqlServerDataEngineBuilderExtensions

objectSqlServerDataEngineBuilderExtensions

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

AddSqlServerData(EngineBuilder, string, string, Action<SqlServerDataOptions>?)

Section titled “ AddSqlServerData(EngineBuilder, string, string, Action<SqlServerDataOptions>?)”

Adds the SQL Server CDC pack with the supplied connection string and database name.

public static EngineBuilder AddSqlServerData(this EngineBuilder builder, string connectionString, string databaseName, Action<SqlServerDataOptions>? configure = null)

builder EngineBuilder

The engine builder to extend.

connectionString string

The SQL Server connection string.

databaseName string

The operator-facing database name.

configure Action<SqlServerDataOptions>?

An optional callback that configures the host-owned SQL Server pack options.

EngineBuilder

The same engine builder for fluent composition.

AddSqlServerData(EngineBuilder, Action<SqlServerDataOptions>)

Section titled “ AddSqlServerData(EngineBuilder, Action<SqlServerDataOptions>)”

Adds the SQL Server CDC pack using an options callback that can bind from configuration.

public static EngineBuilder AddSqlServerData(this EngineBuilder builder, Action<SqlServerDataOptions> configure)

builder EngineBuilder

The engine builder to extend.

configure Action<SqlServerDataOptions>

The callback that configures the host-owned SQL Server pack options, including , , and .

EngineBuilder

The same engine builder for fluent composition.