Interface IScriptExecutor

Namespace
DbExport.Providers
Assembly
DbExport.Api.dll

Defines an abstraction for executing SQL scripts against a database connection.

public interface IScriptExecutor

Methods

Execute(string, string)

Executes a SQL script against the specified database connection.

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.