Search Results for

    Show / Hide Table of Contents

    Class ExecuteSqlScriptExpressionBase

    The base class for SQL script execution

    Inheritance
    object
    MigrationExpressionBase
    ExecuteSqlScriptExpressionBase
    ExecuteEmbeddedSqlScriptExpressionBase
    ExecuteSqlScriptExpression
    Implements
    IMigrationExpression
    ICanBeValidated
    Inherited Members
    MigrationExpressionBase.ExecuteWith(IMigrationProcessor)
    MigrationExpressionBase.CollectValidationErrors(ICollection<string>)
    MigrationExpressionBase.Reverse()
    MigrationExpressionBase.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: FluentMigrator.Expressions
    Assembly: FluentMigrator.Abstractions.dll
    Syntax
    public abstract class ExecuteSqlScriptExpressionBase : MigrationExpressionBase, IMigrationExpression, ICanBeValidated

    Properties

    | Edit this page View Source

    Parameters

    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 Source

    Execute(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

    Implements

    IMigrationExpression
    ICanBeValidated

    Extension Methods

    LegacyValidationExtensions.CollectErrors(ICanBeValidated, ICollection<string>, IServiceProvider)
    LegacyValidationExtensions.TryCollectResults(ICanBeValidated, ICollection<ValidationResult>, IServiceProvider, IDictionary<object, object>)
    • Edit this page
    • View Source
    In this article
    Back to top
    Copyright © 2018 Fluent Migrator Project
    Generated by DocFX
    Creative Commons License
    FluentMigrator Documentation by FluentMigrator Project is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.