ข้ามไปยังเนื้อหา

Class MySqlDataEngineBuilderExtensions

เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน

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

Registers the MySQL binlog CDC companion pack with an .

public static class MySqlDataEngineBuilderExtensions

objectMySqlDataEngineBuilderExtensions

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

AddMySqlData(EngineBuilder, string, string, Action<MySqlDataOptions>?)

Section titled “ AddMySqlData(EngineBuilder, string, string, Action<MySqlDataOptions>?)”

Adds the MySQL binlog CDC pack with the supplied connection string and database name.

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

builder EngineBuilder

The engine builder to extend.

connectionString string

The MySQL connection string.

databaseName string

The operator-facing database name.

configure Action<MySqlDataOptions>?

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

EngineBuilder

The same engine builder for fluent composition.

AddMySqlData(EngineBuilder, Action<MySqlDataOptions>)

Section titled “ AddMySqlData(EngineBuilder, Action<MySqlDataOptions>)”

Adds the MySQL binlog CDC pack using an options callback that can bind from configuration.

public static EngineBuilder AddMySqlData(this EngineBuilder builder, Action<MySqlDataOptions> configure)

builder EngineBuilder

The engine builder to extend.

configure Action<MySqlDataOptions>

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

EngineBuilder

The same engine builder for fluent composition.