Search Results for

    Show / Hide Table of Contents

    Interface IIfDatabaseExpressionRoot

    Defines fluent expressions that can be conditionally executed

    Namespace: FluentMigrator.Builders.IfDatabase
    Assembly: FluentMigrator.Abstractions.dll
    Syntax
    public interface IIfDatabaseExpressionRoot

    Properties

    | Edit this page View Source

    Alter

    Creates an ALTER expression

    Declaration
    IAlterExpressionRoot Alter { get; }
    Property Value
    Type Description
    IAlterExpressionRoot
    | Edit this page View Source

    Create

    Creates CREATE expression

    Declaration
    ICreateExpressionRoot Create { get; }
    Property Value
    Type Description
    ICreateExpressionRoot
    | Edit this page View Source

    Delete

    Creates a DELETE expression

    Declaration
    IDeleteExpressionRoot Delete { get; }
    Property Value
    Type Description
    IDeleteExpressionRoot
    | Edit this page View Source

    Execute

    Execute some SQL

    Declaration
    IExecuteExpressionRoot Execute { get; }
    Property Value
    Type Description
    IExecuteExpressionRoot
    | Edit this page View Source

    Insert

    Inserts data into a table

    Declaration
    IInsertExpressionRoot Insert { get; }
    Property Value
    Type Description
    IInsertExpressionRoot
    | Edit this page View Source

    Rename

    Renames a database object

    Declaration
    IRenameExpressionRoot Rename { get; }
    Property Value
    Type Description
    IRenameExpressionRoot
    | Edit this page View Source

    Schema

    Check if a database object exists

    Declaration
    ISchemaExpressionRoot Schema { get; }
    Property Value
    Type Description
    ISchemaExpressionRoot
    | Edit this page View Source

    Update

    Updates data in a table

    Declaration
    IUpdateExpressionRoot Update { get; }
    Property Value
    Type Description
    IUpdateExpressionRoot

    Methods

    | Edit this page View Source

    Delegate(Action)

    Invokes a delegate that can be used to create database specific expressions

    Declaration
    void Delegate(Action delegation)
    Parameters
    Type Name Description
    Action delegation

    The delegate to call if the database type matches

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