Search Results for

    Show / Hide Table of Contents

    Class SqlScriptTokenReplacer

    Function to replace token in an SQL script

    Inheritance
    object
    SqlScriptTokenReplacer
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: FluentMigrator
    Assembly: FluentMigrator.Abstractions.dll
    Syntax
    public static class SqlScriptTokenReplacer

    Methods

    | Edit this page View Source

    ReplaceSqlScriptTokens(string, IDictionary<string, string>)

    Replace tokens in an SQL script

    Declaration
    public static string ReplaceSqlScriptTokens(string sqlText, IDictionary<string, string> parameters)
    Parameters
    Type Name Description
    string sqlText

    The SQL script where the tokens will be replaced

    IDictionary<string, string> parameters

    The tokens to be replaced

    Returns
    Type Description
    string

    The SQL script with the replaced tokens

    • 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.