Interface IQuoter
The interface to be implemented for handling quotes
Assembly: FluentMigrator.Runner.Core.dll
Syntax
Methods
|
Edit this page
View Source
IsQuoted(string)
Returns true is the value starts and ends with a close quote
Declaration
bool IsQuoted(string value)
Parameters
Type |
Name |
Description |
string |
value |
|
Returns
|
Edit this page
View Source
Quote(string)
Returns a quoted string that has been correctly escaped
Declaration
string Quote(string name)
Parameters
Type |
Name |
Description |
string |
name |
|
Returns
|
Edit this page
View Source
QuoteColumnName(string)
Declaration
string QuoteColumnName(string columnName)
Parameters
Type |
Name |
Description |
string |
columnName |
|
Returns
|
Edit this page
View Source
QuoteConstraintName(string, string)
Declaration
string QuoteConstraintName(string constraintName, string schemaName = null)
Parameters
Type |
Name |
Description |
string |
constraintName |
|
string |
schemaName |
|
Returns
|
Edit this page
View Source
QuoteIndexName(string, string)
Declaration
string QuoteIndexName(string indexName, string schemaName = null)
Parameters
Returns
|
Edit this page
View Source
QuoteSchemaName(string)
Declaration
string QuoteSchemaName(string schemaName)
Parameters
Type |
Name |
Description |
string |
schemaName |
The schema name to quote
|
Returns
Type |
Description |
string |
The quoted schema name
|
|
Edit this page
View Source
QuoteSequenceName(string, string)
Declaration
string QuoteSequenceName(string sequenceName, string schemaName = null)
Parameters
Returns
|
Edit this page
View Source
QuoteTableName(string, string)
Declaration
string QuoteTableName(string tableName, string schemaName = null)
Parameters
Returns
|
Edit this page
View Source
QuoteValue(object)
Quotes a value to be embedded into an SQL script/statement
Declaration
string QuoteValue(object value)
Parameters
Type |
Name |
Description |
object |
value |
The value to be quoted
|
Returns
Type |
Description |
string |
The quoted value
|
|
Edit this page
View Source
UnQuote(string)
Provides an unquoted, unescaped string
Declaration
string UnQuote(string value)
Parameters
Type |
Name |
Description |
string |
value |
|
Returns