Class ExecuteEmbeddedSqlScriptExpression
Inheritance
ExecuteEmbeddedSqlScriptExpression
Assembly: FluentMigrator.Abstractions.dll
Syntax
public class ExecuteEmbeddedSqlScriptExpression : MigrationExpressionBase, IMigrationExpression, ICanBeValidated
Properties
MigrationAssemblies
Declaration
public IAssemblyCollection MigrationAssemblies { get; set; }
Property Value
Parameters
Gets or sets parameters to be replaced before script execution
Declaration
public IDictionary<string, string> Parameters { 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
FindResourceName(string)
Declaration
protected virtual ManifestResourceNameWithAssembly[] FindResourceName(string sqlScript)
Parameters
Type |
Name |
Description |
string |
sqlScript |
|
Returns
GetQualifiedResourcePath()
Declaration
protected virtual ManifestResourceNameWithAssembly GetQualifiedResourcePath()
Returns
NewNoUniqueResourceException(string, IEnumerable<ManifestResourceNameWithAssembly>)
Declaration
protected Exception NewNoUniqueResourceException(string sqlScript, IEnumerable<ManifestResourceNameWithAssembly> foundResources)
Parameters
Returns
NewNotFoundException(string)
Declaration
protected Exception NewNotFoundException(string sqlScript)
Parameters
Type |
Name |
Description |
string |
sqlScript |
|
Returns
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