Search Results for

    Show / Hide Table of Contents

    Interface IQuoter

    The interface to be implemented for handling quotes

    Namespace: FluentMigrator.Runner.Generators
    Assembly: FluentMigrator.Runner.Core.dll
    Syntax
    public interface IQuoter

    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
    Type Description
    bool
    | 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
    Type Description
    string
    | Edit this page View Source

    QuoteColumnName(string)

    Quotes a column name

    Declaration
    string QuoteColumnName(string columnName)
    Parameters
    Type Name Description
    string columnName
    Returns
    Type Description
    string
    | Edit this page View Source

    QuoteConstraintName(string, string)

    Quotes a constraint name

    Declaration
    string QuoteConstraintName(string constraintName, string schemaName = null)
    Parameters
    Type Name Description
    string constraintName
    string schemaName
    Returns
    Type Description
    string
    | Edit this page View Source

    QuoteIndexName(string, string)

    Quote an index name

    Declaration
    string QuoteIndexName(string indexName, string schemaName = null)
    Parameters
    Type Name Description
    string indexName
    string schemaName
    Returns
    Type Description
    string
    | Edit this page View Source

    QuoteSchemaName(string)

    Quotes a schema name

    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)

    Quotes a Sequence name

    Declaration
    string QuoteSequenceName(string sequenceName, string schemaName = null)
    Parameters
    Type Name Description
    string sequenceName
    string schemaName
    Returns
    Type Description
    string
    | Edit this page View Source

    QuoteTableName(string, string)

    Quotes a Table name

    Declaration
    string QuoteTableName(string tableName, string schemaName = null)
    Parameters
    Type Name Description
    string tableName
    string schemaName
    Returns
    Type Description
    string
    | 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
    Type Description
    string
    • Edit this page
    • View Source
    In this article
    • Methods
      • IsQuoted(string)
      • Quote(string)
      • QuoteColumnName(string)
      • QuoteConstraintName(string, string)
      • QuoteIndexName(string, string)
      • QuoteSchemaName(string)
      • QuoteSequenceName(string, string)
      • QuoteTableName(string, string)
      • QuoteValue(object)
      • UnQuote(string)
    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.