Search Results for

    Show / Hide Table of Contents

    Class SqlAnywhere16Generator

    Inheritance
    object
    GeneratorBase
    GenericGenerator
    SqlAnywhere16Generator
    Implements
    IMigrationGenerator
    Inherited Members
    GenericGenerator.compatabilityMode
    GenericGenerator.CompatibilityMode
    GenericGenerator.CreateTable
    GenericGenerator.DropTable
    GenericGenerator.AlterSchema
    GenericGenerator.InsertData
    GenericGenerator.UpdateData
    GenericGenerator.DeleteData
    GenericGenerator.DeleteConstraint
    GenericGenerator.GetUniqueString(CreateIndexExpression)
    GenericGenerator.Generate(DeleteTableExpression)
    GenericGenerator.Generate(RenameTableExpression)
    GenericGenerator.Generate(DeleteColumnExpression)
    GenericGenerator.Generate(RenameColumnExpression)
    GenericGenerator.Generate(DeleteConstraintExpression)
    GenericGenerator.GenerateForeignKeyName(ForeignKeyDefinition)
    GenericGenerator.Generate(DeleteForeignKeyExpression)
    GenericGenerator.Generate(InsertDataExpression)
    GenericGenerator.AppendSqlStatementEndToken(StringBuilder)
    GenericGenerator.GenerateColumnNamesAndValues(InsertDataExpression)
    GenericGenerator.ValidateAdditionalFeatureCompatibility(IEnumerable<KeyValuePair<string, object>>)
    GenericGenerator.Generate(UpdateDataExpression)
    GenericGenerator.Generate(DeleteDataExpression)
    GeneratorBase.Generate(AlterTableExpression)
    GeneratorBase.Column
    GeneratorBase.Quoter
    GeneratorBase.DescriptionGenerator
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: FluentMigrator.Runner.Generators.SqlAnywhere
    Assembly: FluentMigrator.Runner.SqlAnywhere.dll
    Syntax
    public class SqlAnywhere16Generator : GenericGenerator, IMigrationGenerator

    Constructors

    | Edit this page View Source

    SqlAnywhere16Generator()

    Declaration
    public SqlAnywhere16Generator()
    | Edit this page View Source

    SqlAnywhere16Generator(IColumn, IQuoter, IDescriptionGenerator, IOptions<GeneratorOptions>)

    Declaration
    protected SqlAnywhere16Generator(IColumn column, IQuoter quoter, IDescriptionGenerator descriptionGenerator, IOptions<GeneratorOptions> generatorOptions)
    Parameters
    Type Name Description
    IColumn column
    IQuoter quoter
    IDescriptionGenerator descriptionGenerator
    IOptions<GeneratorOptions> generatorOptions
    | Edit this page View Source

    SqlAnywhere16Generator(SqlAnywhereQuoter)

    Declaration
    public SqlAnywhere16Generator(SqlAnywhereQuoter quoter)
    Parameters
    Type Name Description
    SqlAnywhereQuoter quoter
    | Edit this page View Source

    SqlAnywhere16Generator(SqlAnywhereQuoter, IOptions<GeneratorOptions>)

    Declaration
    public SqlAnywhere16Generator(SqlAnywhereQuoter quoter, IOptions<GeneratorOptions> generatorOptions)
    Parameters
    Type Name Description
    SqlAnywhereQuoter quoter
    IOptions<GeneratorOptions> generatorOptions

    Properties

    | Edit this page View Source

    AddColumn

    Declaration
    public override string AddColumn { get; }
    Property Value
    Type Description
    string
    Overrides
    GenericGenerator.AddColumn
    | Edit this page View Source

    AlterColumn

    Declaration
    public override string AlterColumn { get; }
    Property Value
    Type Description
    string
    Overrides
    GenericGenerator.AlterColumn
    | Edit this page View Source

    CreateConstraint

    Declaration
    public override string CreateConstraint { get; }
    Property Value
    Type Description
    string
    Overrides
    GenericGenerator.CreateConstraint
    | Edit this page View Source

    CreateForeignKeyConstraint

    Declaration
    public override string CreateForeignKeyConstraint { get; }
    Property Value
    Type Description
    string
    Overrides
    GenericGenerator.CreateForeignKeyConstraint
    | Edit this page View Source

    CreateIndex

    Declaration
    public override string CreateIndex { get; }
    Property Value
    Type Description
    string
    Overrides
    GenericGenerator.CreateIndex
    | Edit this page View Source

    CreateSchema

    Declaration
    public override string CreateSchema { get; }
    Property Value
    Type Description
    string
    Overrides
    GenericGenerator.CreateSchema
    | Edit this page View Source

    DropColumn

    Declaration
    public override string DropColumn { get; }
    Property Value
    Type Description
    string
    Overrides
    GenericGenerator.DropColumn
    | Edit this page View Source

    DropIndex

    Declaration
    public override string DropIndex { get; }
    Property Value
    Type Description
    string
    Overrides
    GenericGenerator.DropIndex
    | Edit this page View Source

    DropSchema

    Declaration
    public override string DropSchema { get; }
    Property Value
    Type Description
    string
    Overrides
    GenericGenerator.DropSchema
    | Edit this page View Source

    RenameColumn

    Declaration
    public override string RenameColumn { get; }
    Property Value
    Type Description
    string
    Overrides
    GenericGenerator.RenameColumn
    | Edit this page View Source

    RenameTable

    Declaration
    public override string RenameTable { get; }
    Property Value
    Type Description
    string
    Overrides
    GenericGenerator.RenameTable

    Methods

    | Edit this page View Source

    Generate(AlterColumnExpression)

    Generates a ALTER TABLE ALTER COLUMN SQL statement

    Declaration
    public override string Generate(AlterColumnExpression expression)
    Parameters
    Type Name Description
    AlterColumnExpression expression

    The expression to create the SQL for

    Returns
    Type Description
    string

    The generated SQL

    Overrides
    GenericGenerator.Generate(AlterColumnExpression)
    | Edit this page View Source

    Generate(AlterDefaultConstraintExpression)

    Generates an SQL statement to alter a DEFAULT constraint

    Declaration
    public override string Generate(AlterDefaultConstraintExpression expression)
    Parameters
    Type Name Description
    AlterDefaultConstraintExpression expression

    The expression to create the SQL for

    Returns
    Type Description
    string

    The generated SQL

    Overrides
    GeneratorBase.Generate(AlterDefaultConstraintExpression)
    | Edit this page View Source

    Generate(AlterSchemaExpression)

    Generates an SQL statement to move a table from one schema to another

    Declaration
    public override string Generate(AlterSchemaExpression expression)
    Parameters
    Type Name Description
    AlterSchemaExpression expression

    The expression to create the SQL for

    Returns
    Type Description
    string

    The generated SQL

    Overrides
    GenericGenerator.Generate(AlterSchemaExpression)
    | Edit this page View Source

    Generate(CreateColumnExpression)

    Generates a ALTER TABLE ADD COLUMN SQL statement

    Declaration
    public override string Generate(CreateColumnExpression expression)
    Parameters
    Type Name Description
    CreateColumnExpression expression

    The expression to create the SQL for

    Returns
    Type Description
    string

    The generated SQL

    Overrides
    GenericGenerator.Generate(CreateColumnExpression)
    | Edit this page View Source

    Generate(CreateConstraintExpression)

    Generates an SQL statement to create a constraint

    Declaration
    public override string Generate(CreateConstraintExpression expression)
    Parameters
    Type Name Description
    CreateConstraintExpression expression

    The expression to create the SQL for

    Returns
    Type Description
    string

    The generated SQL

    Overrides
    GenericGenerator.Generate(CreateConstraintExpression)
    | Edit this page View Source

    Generate(CreateForeignKeyExpression)

    Generates an SQL statement to create a foreign key

    Declaration
    public override string Generate(CreateForeignKeyExpression expression)
    Parameters
    Type Name Description
    CreateForeignKeyExpression expression

    The expression to create the SQL for

    Returns
    Type Description
    string

    The generated SQL

    Overrides
    GenericGenerator.Generate(CreateForeignKeyExpression)
    | Edit this page View Source

    Generate(CreateIndexExpression)

    Generates an SQL statement to create an index

    Declaration
    public override string Generate(CreateIndexExpression expression)
    Parameters
    Type Name Description
    CreateIndexExpression expression

    The expression to create the SQL for

    Returns
    Type Description
    string

    The generated SQL

    Overrides
    GenericGenerator.Generate(CreateIndexExpression)
    | Edit this page View Source

    Generate(CreateSchemaExpression)

    Generates a CREATE SCHEMA SQL statement

    Declaration
    public override string Generate(CreateSchemaExpression expression)
    Parameters
    Type Name Description
    CreateSchemaExpression expression

    The expression to create the SQL for

    Returns
    Type Description
    string

    The generated SQL

    Overrides
    GenericGenerator.Generate(CreateSchemaExpression)
    | Edit this page View Source

    Generate(CreateSequenceExpression)

    Generates a CREATE SEQUENCE SQL statement

    Declaration
    public override string Generate(CreateSequenceExpression expression)
    Parameters
    Type Name Description
    CreateSequenceExpression expression

    The expression to create the SQL for

    Returns
    Type Description
    string

    The generated SQL

    Overrides
    GenericGenerator.Generate(CreateSequenceExpression)
    | Edit this page View Source

    Generate(CreateTableExpression)

    Outputs a create table string

    Declaration
    public override string Generate(CreateTableExpression expression)
    Parameters
    Type Name Description
    CreateTableExpression expression
    Returns
    Type Description
    string
    Overrides
    GenericGenerator.Generate(CreateTableExpression)
    | Edit this page View Source

    Generate(DeleteDefaultConstraintExpression)

    Generates an SQL statement to drop a default constraint

    Declaration
    public override string Generate(DeleteDefaultConstraintExpression expression)
    Parameters
    Type Name Description
    DeleteDefaultConstraintExpression expression

    The expression to create the SQL for

    Returns
    Type Description
    string

    The generated SQL

    Overrides
    GeneratorBase.Generate(DeleteDefaultConstraintExpression)
    | Edit this page View Source

    Generate(DeleteIndexExpression)

    Generates an SQL statement to drop an index

    Declaration
    public override string Generate(DeleteIndexExpression expression)
    Parameters
    Type Name Description
    DeleteIndexExpression expression

    The expression to create the SQL for

    Returns
    Type Description
    string

    The generated SQL

    Overrides
    GenericGenerator.Generate(DeleteIndexExpression)
    | Edit this page View Source

    Generate(DeleteSchemaExpression)

    Generates a DROP SCHEMA SQL statement

    Declaration
    public override string Generate(DeleteSchemaExpression expression)
    Parameters
    Type Name Description
    DeleteSchemaExpression expression

    The expression to create the SQL for

    Returns
    Type Description
    string

    The generated SQL

    Overrides
    GenericGenerator.Generate(DeleteSchemaExpression)
    | Edit this page View Source

    Generate(DeleteSequenceExpression)

    Generates a DROP SEQUENCE SQL statement

    Declaration
    public override string Generate(DeleteSequenceExpression expression)
    Parameters
    Type Name Description
    DeleteSequenceExpression expression

    The expression to create the SQL for

    Returns
    Type Description
    string

    The generated SQL

    Overrides
    GenericGenerator.Generate(DeleteSequenceExpression)
    | Edit this page View Source

    GetClusterTypeString(CreateIndexExpression)

    Declaration
    public override string GetClusterTypeString(CreateIndexExpression column)
    Parameters
    Type Name Description
    CreateIndexExpression column
    Returns
    Type Description
    string
    Overrides
    GenericGenerator.GetClusterTypeString(CreateIndexExpression)
    | Edit this page View Source

    GetConstraintClusteringString(CreateConstraintExpression)

    Declaration
    protected string GetConstraintClusteringString(CreateConstraintExpression constraint)
    Parameters
    Type Name Description
    CreateConstraintExpression constraint
    Returns
    Type Description
    string
    | Edit this page View Source

    GetWithNullsDistinctString(IndexDefinition)

    Declaration
    protected virtual string GetWithNullsDistinctString(IndexDefinition index)
    Parameters
    Type Name Description
    IndexDefinition index
    Returns
    Type Description
    string
    | Edit this page View Source

    IsAdditionalFeatureSupported(string)

    Declaration
    public override bool IsAdditionalFeatureSupported(string feature)
    Parameters
    Type Name Description
    string feature
    Returns
    Type Description
    bool
    Overrides
    GeneratorBase.IsAdditionalFeatureSupported(string)

    Implements

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