Search Results for

    Show / Hide Table of Contents

    Class ExecuteEmbeddedSqlScriptExpression

    Inheritance
    object
    MigrationExpressionBase
    ExecuteEmbeddedSqlScriptExpression
    Implements
    IMigrationExpression
    ICanBeValidated
    Inherited Members
    MigrationExpressionBase.Reverse()
    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 class ExecuteEmbeddedSqlScriptExpression : MigrationExpressionBase, IMigrationExpression, ICanBeValidated

    Properties

    MigrationAssemblies

    Declaration
    public IAssemblyCollection MigrationAssemblies { get; set; }
    Property Value
    Type Description
    IAssemblyCollection

    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>

    SqlScript

    Declaration
    public string SqlScript { get; set; }
    Property Value
    Type Description
    string

    Methods

    CollectValidationErrors(ICollection<string>)

    Declaration
    public override void CollectValidationErrors(ICollection<string> errors)
    Parameters
    Type Name Description
    ICollection<string> errors
    Overrides
    MigrationExpressionBase.CollectValidationErrors(ICollection<string>)

    ExecuteWith(IMigrationProcessor)

    Declaration
    public override void ExecuteWith(IMigrationProcessor processor)
    Parameters
    Type Name Description
    IMigrationProcessor processor
    Overrides
    MigrationExpressionBase.ExecuteWith(IMigrationProcessor)

    FindResourceName(string)

    Declaration
    protected virtual ManifestResourceNameWithAssembly[] FindResourceName(string sqlScript)
    Parameters
    Type Name Description
    string sqlScript
    Returns
    Type Description
    ManifestResourceNameWithAssembly[]

    GetQualifiedResourcePath()

    Declaration
    protected virtual ManifestResourceNameWithAssembly GetQualifiedResourcePath()
    Returns
    Type Description
    ManifestResourceNameWithAssembly

    NewNoUniqueResourceException(string, IEnumerable<ManifestResourceNameWithAssembly>)

    Declaration
    protected Exception NewNoUniqueResourceException(string sqlScript, IEnumerable<ManifestResourceNameWithAssembly> foundResources)
    Parameters
    Type Name Description
    string sqlScript
    IEnumerable<ManifestResourceNameWithAssembly> foundResources
    Returns
    Type Description
    Exception

    NewNotFoundException(string)

    Declaration
    protected Exception NewNotFoundException(string sqlScript)
    Parameters
    Type Name Description
    string sqlScript
    Returns
    Type Description
    Exception

    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
    MigrationExpressionBase.ToString()

    Implements

    IMigrationExpression
    ICanBeValidated

    Extension Methods

    ConventionSetExtensions.Apply<T>(T, IConventionSet)
    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.