Search Results for

    Show / Hide Table of Contents

    Interface IDeleteExpressionRoot

    Namespace: FluentMigrator.Builders.Delete
    Assembly: FluentMigrator.Abstractions.dll
    Syntax
    public interface IDeleteExpressionRoot

    Methods

    Column(string)

    Declaration
    IDeleteColumnFromTableSyntax Column(string columnName)
    Parameters
    Type Name Description
    string columnName
    Returns
    Type Description
    IDeleteColumnFromTableSyntax

    DefaultConstraint()

    Deletes a default constraint from a column

    Declaration
    IDeleteDefaultConstraintOnTableSyntax DefaultConstraint()
    Returns
    Type Description
    IDeleteDefaultConstraintOnTableSyntax

    ForeignKey()

    Declaration
    IDeleteForeignKeyFromTableSyntax ForeignKey()
    Returns
    Type Description
    IDeleteForeignKeyFromTableSyntax

    ForeignKey(string)

    Declaration
    IDeleteForeignKeyOnTableSyntax ForeignKey(string foreignKeyName)
    Parameters
    Type Name Description
    string foreignKeyName
    Returns
    Type Description
    IDeleteForeignKeyOnTableSyntax

    FromTable(string)

    Declaration
    IDeleteDataOrInSchemaSyntax FromTable(string tableName)
    Parameters
    Type Name Description
    string tableName
    Returns
    Type Description
    IDeleteDataOrInSchemaSyntax

    Index()

    Deletes an index, based on the naming convention in effect

    Declaration
    IDeleteIndexForTableSyntax Index()
    Returns
    Type Description
    IDeleteIndexForTableSyntax

    Index(string)

    Deletes an index

    Declaration
    IDeleteIndexForTableSyntax Index(string indexName)
    Parameters
    Type Name Description
    string indexName

    the name of the index

    Returns
    Type Description
    IDeleteIndexForTableSyntax

    PrimaryKey(string)

    Deletes a named Primary Key from a table

    Declaration
    IDeleteConstraintOnTableSyntax PrimaryKey(string primaryKeyName)
    Parameters
    Type Name Description
    string primaryKeyName
    Returns
    Type Description
    IDeleteConstraintOnTableSyntax

    Schema(string)

    Declaration
    void Schema(string schemaName)
    Parameters
    Type Name Description
    string schemaName

    Sequence(string)

    Declaration
    IInSchemaSyntax Sequence(string sequenceName)
    Parameters
    Type Name Description
    string sequenceName
    Returns
    Type Description
    IInSchemaSyntax

    Table(string)

    Declaration
    IInSchemaSyntax Table(string tableName)
    Parameters
    Type Name Description
    string tableName
    Returns
    Type Description
    IInSchemaSyntax

    UniqueConstraint()

    Deletes a named Unique Constraint from a table based on the naming convention in effect

    Declaration
    IDeleteConstraintOnTableSyntax UniqueConstraint()
    Returns
    Type Description
    IDeleteConstraintOnTableSyntax

    UniqueConstraint(string)

    Deletes a named Unique Constraint From a table

    Declaration
    IDeleteConstraintOnTableSyntax UniqueConstraint(string constraintName)
    Parameters
    Type Name Description
    string constraintName
    Returns
    Type Description
    IDeleteConstraintOnTableSyntax
    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.