Class ExecuteSqlScriptExpressionBase
The base class for SQL script execution
Inheritance
ExecuteSqlScriptExpressionBase
Inherited Members
Namespace: FluentMigrator.Expressions
Assembly: FluentMigrator.Abstractions.dll
Syntax
public abstract class ExecuteSqlScriptExpressionBase : MigrationExpressionBase, IMigrationExpression, ICanBeValidated
Properties
| Edit this page View SourceParameters
Gets or sets parameters to be replaced before script execution
Declaration
public IDictionary<string, string> Parameters { get; set; }
Property Value
| Type | Description |
|---|---|
| IDictionary<string, string> |
Methods
| Edit this page View SourceExecute(IMigrationProcessor, string)
Executes the sqlScript with the given processor
Declaration
protected void Execute(IMigrationProcessor processor, string sqlScript)
Parameters
| Type | Name | Description |
|---|---|---|
| IMigrationProcessor | processor | The processor to execute the script with |
| string | sqlScript | The SQL script to execute |