Search Results for

    Show / Hide Table of Contents

    Class SqlServer2005Generator

    Inheritance
    object
    GeneratorBase
    GenericGenerator
    SqlServer2000Generator
    SqlServer2005Generator
    SqlServer2008Generator
    Implements
    IMigrationGenerator
    Inherited Members
    SqlServer2000Generator.RenameTable
    SqlServer2000Generator.RenameColumn
    SqlServer2000Generator.CreateConstraint
    SqlServer2000Generator.GetClusterTypeString(CreateIndexExpression)
    SqlServer2000Generator.GetConstraintClusteringString(CreateConstraintExpression)
    SqlServer2000Generator.Generate(RenameTableExpression)
    SqlServer2000Generator.Generate(RenameColumnExpression)
    SqlServer2000Generator.Generate(DeleteColumnExpression)
    SqlServer2000Generator.BuildDelete(DeleteColumnExpression, string, StringBuilder)
    SqlServer2000Generator.Generate(AlterDefaultConstraintExpression)
    SqlServer2000Generator.Generate(InsertDataExpression)
    SqlServer2000Generator.IsUsingIdentityInsert(InsertDataExpression)
    SqlServer2000Generator.Generate(CreateSequenceExpression)
    SqlServer2000Generator.Generate(DeleteSequenceExpression)
    GenericGenerator.compatabilityMode
    GenericGenerator.CreateTable
    GenericGenerator.DropTable
    GenericGenerator.DropColumn
    GenericGenerator.AlterColumn
    GenericGenerator.CreateSchema
    GenericGenerator.AlterSchema
    GenericGenerator.DropSchema
    GenericGenerator.InsertData
    GenericGenerator.UpdateData
    GenericGenerator.DeleteData
    GenericGenerator.DeleteConstraint
    GenericGenerator.GetUniqueString(CreateIndexExpression)
    GenericGenerator.Generate(DeleteTableExpression)
    GenericGenerator.GenerateForeignKeyName(ForeignKeyDefinition)
    GenericGenerator.Generate(DeleteForeignKeyExpression)
    GenericGenerator.AppendSqlStatementEndToken(StringBuilder)
    GenericGenerator.GenerateColumnNamesAndValues(InsertDataExpression)
    GenericGenerator.ValidateAdditionalFeatureCompatibility(IEnumerable<KeyValuePair<string, object>>)
    GenericGenerator.Generate(UpdateDataExpression)
    GenericGenerator.Generate(DeleteDataExpression)
    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.SqlServer
    Assembly: FluentMigrator.Runner.SqlServer.dll
    Syntax
    public class SqlServer2005Generator : SqlServer2000Generator, IMigrationGenerator

    Constructors

    SqlServer2005Generator()

    Declaration
    public SqlServer2005Generator()

    SqlServer2005Generator(IColumn, IQuoter, IDescriptionGenerator)

    Declaration
    protected SqlServer2005Generator(IColumn column, IQuoter quoter, IDescriptionGenerator descriptionGenerator)
    Parameters
    Type Name Description
    IColumn column
    IQuoter quoter
    IDescriptionGenerator descriptionGenerator

    Properties

    AddColumn

    Declaration
    public override string AddColumn { get; }
    Property Value
    Type Description
    string
    Overrides
    SqlServer2000Generator.AddColumn

    CreateForeignKeyConstraint

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

    CreateIndex

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

    DropIndex

    Declaration
    public override string DropIndex { get; }
    Property Value
    Type Description
    string
    Overrides
    SqlServer2000Generator.DropIndex

    IdentityInsert

    Declaration
    public override string IdentityInsert { get; }
    Property Value
    Type Description
    string
    Overrides
    SqlServer2000Generator.IdentityInsert

    Methods

    Generate(AlterColumnExpression)

    Declaration
    public override string Generate(AlterColumnExpression expression)
    Parameters
    Type Name Description
    AlterColumnExpression expression
    Returns
    Type Description
    string
    Overrides
    GenericGenerator.Generate(AlterColumnExpression)

    Generate(AlterSchemaExpression)

    Declaration
    public override string Generate(AlterSchemaExpression expression)
    Parameters
    Type Name Description
    AlterSchemaExpression expression
    Returns
    Type Description
    string
    Overrides
    GenericGenerator.Generate(AlterSchemaExpression)

    Generate(AlterTableExpression)

    Declaration
    public override string Generate(AlterTableExpression expression)
    Parameters
    Type Name Description
    AlterTableExpression expression
    Returns
    Type Description
    string
    Overrides
    GeneratorBase.Generate(AlterTableExpression)

    Generate(CreateColumnExpression)

    Declaration
    public override string Generate(CreateColumnExpression expression)
    Parameters
    Type Name Description
    CreateColumnExpression expression
    Returns
    Type Description
    string
    Overrides
    GenericGenerator.Generate(CreateColumnExpression)

    Generate(CreateConstraintExpression)

    Declaration
    public override string Generate(CreateConstraintExpression expression)
    Parameters
    Type Name Description
    CreateConstraintExpression expression
    Returns
    Type Description
    string
    Overrides
    SqlServer2000Generator.Generate(CreateConstraintExpression)

    Generate(CreateForeignKeyExpression)

    Declaration
    public override string Generate(CreateForeignKeyExpression expression)
    Parameters
    Type Name Description
    CreateForeignKeyExpression expression
    Returns
    Type Description
    string
    Overrides
    GenericGenerator.Generate(CreateForeignKeyExpression)

    Generate(CreateIndexExpression)

    Declaration
    public override string Generate(CreateIndexExpression expression)
    Parameters
    Type Name Description
    CreateIndexExpression expression
    Returns
    Type Description
    string
    Overrides
    GenericGenerator.Generate(CreateIndexExpression)

    Generate(CreateSchemaExpression)

    Declaration
    public override string Generate(CreateSchemaExpression expression)
    Parameters
    Type Name Description
    CreateSchemaExpression expression
    Returns
    Type Description
    string
    Overrides
    GenericGenerator.Generate(CreateSchemaExpression)

    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)

    Generate(DeleteConstraintExpression)

    Declaration
    public override string Generate(DeleteConstraintExpression expression)
    Parameters
    Type Name Description
    DeleteConstraintExpression expression
    Returns
    Type Description
    string
    Overrides
    GenericGenerator.Generate(DeleteConstraintExpression)

    Generate(DeleteDefaultConstraintExpression)

    Declaration
    public override string Generate(DeleteDefaultConstraintExpression expression)
    Parameters
    Type Name Description
    DeleteDefaultConstraintExpression expression
    Returns
    Type Description
    string
    Overrides
    SqlServer2000Generator.Generate(DeleteDefaultConstraintExpression)

    Generate(DeleteIndexExpression)

    Declaration
    public override string Generate(DeleteIndexExpression expression)
    Parameters
    Type Name Description
    DeleteIndexExpression expression
    Returns
    Type Description
    string
    Overrides
    GenericGenerator.Generate(DeleteIndexExpression)

    Generate(DeleteSchemaExpression)

    Declaration
    public override string Generate(DeleteSchemaExpression expression)
    Parameters
    Type Name Description
    DeleteSchemaExpression expression
    Returns
    Type Description
    string
    Overrides
    GenericGenerator.Generate(DeleteSchemaExpression)

    GetIncludeString(CreateIndexExpression)

    Declaration
    public virtual string GetIncludeString(CreateIndexExpression column)
    Parameters
    Type Name Description
    CreateIndexExpression column
    Returns
    Type Description
    string

    GetWithOptions(ISupportAdditionalFeatures)

    Declaration
    public virtual string GetWithOptions(ISupportAdditionalFeatures expression)
    Parameters
    Type Name Description
    ISupportAdditionalFeatures expression
    Returns
    Type Description
    string

    IsAdditionalFeatureSupported(string)

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

    Implements

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