Class SqlServerDataEngineBuilderExtensions
เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน
Namespace: Cephalon.Data.SqlServer.Registration
Assembly: Cephalon.Data.SqlServer.dll
Registers the SQL Server CDC companion pack with an
public static class SqlServerDataEngineBuilderExtensionsInheritance
Section titled “Inheritance”object ← SqlServerDataEngineBuilderExtensions
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”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)Parameters
Section titled “Parameters”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.
Returns
Section titled “Returns”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)Parameters
Section titled “Parameters”builder EngineBuilder
The engine builder to extend.
configure Action<SqlServerDataOptions>
The callback that configures the host-owned SQL Server pack options, including
Returns
Section titled “Returns”EngineBuilder
The same engine builder for fluent composition.