Class ExecuteSqlScriptExpression
Inheritance
ExecuteSqlScriptExpression
Assembly: FluentMigrator.Abstractions.dll
Syntax
public class ExecuteSqlScriptExpression : MigrationExpressionBase, IMigrationExpression, ICanBeValidated, IFileSystemExpression
Properties
Parameters
Gets or sets parameters to be replaced before script execution
Declaration
public IDictionary<string, string> Parameters { get; set; }
Property Value
RootPath
Gets or sets the root path (working directory)
Declaration
public string RootPath { get; set; }
Property Value
SqlScript
Declaration
public string SqlScript { get; set; }
Property Value
Methods
CollectValidationErrors(ICollection<string>)
Declaration
public override void CollectValidationErrors(ICollection<string> errors)
Parameters
Overrides
ExecuteWith(IMigrationProcessor)
Declaration
public override void ExecuteWith(IMigrationProcessor processor)
Parameters
Overrides
ToString()
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
Type |
Description |
string |
A string that represents the current object.
|
Overrides
Implements
Extension Methods