Class SqlScriptTokenReplacer
Function to replace token in an SQL script
Inherited Members
Namespace: FluentMigrator
Assembly: FluentMigrator.Abstractions.dll
Syntax
public static class SqlScriptTokenReplacer
Methods
| Edit this page View SourceReplaceSqlScriptTokens(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 |