Class MySqlScriptExecutor

Namespace
DbExport.Providers.MySql
Assembly
DbExport.Api.dll

Provides functionality for executing MySQL scripts, including management of database creation commands and connection string updates for the target database. Extends the functionality of the BatchScriptExecutor class for MySQL-specific use cases.

public class MySqlScriptExecutor : BatchScriptExecutor, IScriptExecutor
Inheritance
MySqlScriptExecutor
Implements
Inherited Members

Constructors

MySqlScriptExecutor()

Provides functionality for executing MySQL scripts, including management of database creation commands and connection string updates for the target database. Extends the functionality of the BatchScriptExecutor class for MySQL-specific use cases.

public MySqlScriptExecutor()

Methods

Execute(string, string)

Executes a SQL script against the specified database connection.

public override void Execute(string connectionString, string script)

Parameters

connectionString string

The connection string used to connect to the database.

script string

The SQL script to be executed.