Search Results for

    Show / Hide Table of Contents

    Class OracleGenerator

    Inheritance
    object
    GeneratorBase
    GenericGenerator
    OracleGenerator
    Oracle12CGenerator
    Implements
    IOracleGenerator
    IMigrationGenerator
    Inherited Members
    GenericGenerator.compatabilityMode
    GenericGenerator.CompatibilityMode
    GenericGenerator.CreateTable
    GenericGenerator.DropColumn
    GenericGenerator.RenameColumn
    GenericGenerator.CreateSchema
    GenericGenerator.AlterSchema
    GenericGenerator.DropSchema
    GenericGenerator.CreateIndex
    GenericGenerator.DropIndex
    GenericGenerator.UpdateData
    GenericGenerator.DeleteData
    GenericGenerator.CreateConstraint
    GenericGenerator.DeleteConstraint
    GenericGenerator.CreateForeignKeyConstraint
    GenericGenerator.GetUniqueString(CreateIndexExpression)
    GenericGenerator.GetClusterTypeString(CreateIndexExpression)
    GenericGenerator.Generate(RenameTableExpression)
    GenericGenerator.Generate(DeleteColumnExpression)
    GenericGenerator.Generate(RenameColumnExpression)
    GenericGenerator.Generate(CreateForeignKeyExpression)
    GenericGenerator.Generate(CreateConstraintExpression)
    GenericGenerator.Generate(DeleteConstraintExpression)
    GenericGenerator.GenerateForeignKeyName(ForeignKeyDefinition)
    GenericGenerator.Generate(DeleteForeignKeyExpression)
    GenericGenerator.GenerateColumnNamesAndValues(InsertDataExpression)
    GenericGenerator.ValidateAdditionalFeatureCompatibility(IEnumerable<KeyValuePair<string, object>>)
    GenericGenerator.Generate(UpdateDataExpression)
    GenericGenerator.Generate(DeleteDataExpression)
    GenericGenerator.Generate(CreateSchemaExpression)
    GenericGenerator.Generate(DeleteSchemaExpression)
    GenericGenerator.Generate(AlterSchemaExpression)
    GenericGenerator.Generate(DeleteSequenceExpression)
    GeneratorBase.IsAdditionalFeatureSupported(string)
    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.Oracle
    Assembly: FluentMigrator.Runner.Oracle.dll
    Syntax
    public class OracleGenerator : GenericGenerator, IOracleGenerator, IMigrationGenerator

    Constructors

    | Edit this page View Source

    OracleGenerator()

    Declaration
    public OracleGenerator()
    | Edit this page View Source

    OracleGenerator(IColumn, OracleQuoterBase, IDescriptionGenerator, IOptions<GeneratorOptions>)

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

    OracleGenerator(IColumn, OracleQuoterBase, IOptions<GeneratorOptions>)

    Declaration
    public OracleGenerator(IColumn column, OracleQuoterBase quoter, IOptions<GeneratorOptions> generatorOptions)
    Parameters
    Type Name Description
    IColumn column
    OracleQuoterBase quoter
    IOptions<GeneratorOptions> generatorOptions
    | Edit this page View Source

    OracleGenerator(OracleQuoterBase)

    Declaration
    public OracleGenerator(OracleQuoterBase quoter)
    Parameters
    Type Name Description
    OracleQuoterBase quoter
    | Edit this page View Source

    OracleGenerator(OracleQuoterBase, IOptions<GeneratorOptions>)

    Declaration
    public OracleGenerator(OracleQuoterBase quoter, IOptions<GeneratorOptions> generatorOptions)
    Parameters
    Type Name Description
    OracleQuoterBase quoter
    IOptions<GeneratorOptions> generatorOptions
    | Edit this page View Source

    OracleGenerator(bool)

    Declaration
    public OracleGenerator(bool useQuotedIdentifiers)
    Parameters
    Type Name Description
    bool useQuotedIdentifiers

    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

    DropTable

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

    InsertData

    Declaration
    public override string InsertData { get; }
    Property Value
    Type Description
    string
    Overrides
    GenericGenerator.InsertData
    | 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

    AppendSqlStatementEndToken(StringBuilder)

    Declaration
    protected override StringBuilder AppendSqlStatementEndToken(StringBuilder stringBuilder)
    Parameters
    Type Name Description
    StringBuilder stringBuilder
    Returns
    Type Description
    StringBuilder
    Overrides
    GenericGenerator.AppendSqlStatementEndToken(StringBuilder)
    | 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(AlterTableExpression)

    Generates a ALTER TABLE SQL statement

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

    The expression to create the SQL for

    Returns
    Type Description
    string

    The generated SQL

    Overrides
    GeneratorBase.Generate(AlterTableExpression)
    | 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(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(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(DeleteTableExpression)

    Generates a DROP TABLE SQL statement

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

    The expression to create the SQL for

    Returns
    Type Description
    string

    The generated SQL

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

    Generate(InsertDataExpression)

    Generates an SQL statement to INSERT data

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

    The expression to create the SQL for

    Returns
    Type Description
    string

    The generated SQL

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

    GetQuoter(bool)

    Declaration
    protected static OracleQuoterBase GetQuoter(bool useQuotedIdentifiers)
    Parameters
    Type Name Description
    bool useQuotedIdentifiers
    Returns
    Type Description
    OracleQuoterBase

    Implements

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