Class MySqlDataEngineBuilderExtensions
Namespace: Cephalon.Data.MySql.Registration
Assembly: Cephalon.Data.MySql.dll
Registers the MySQL binlog CDC companion pack with an
public static class MySqlDataEngineBuilderExtensionsInheritance
Section titled “Inheritance”object ← MySqlDataEngineBuilderExtensions
Inherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
Methods
Section titled “Methods”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)Parameters
Section titled “Parameters”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.
Returns
Section titled “Returns”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)Parameters
Section titled “Parameters”builder EngineBuilder
The engine builder to extend.
configure Action<MySqlDataOptions>
The callback that configures the host-owned MySQL pack options, including
Returns
Section titled “Returns”EngineBuilder
The same engine builder for fluent composition.