Search Results for

    Show / Hide Table of Contents

    How does the fluent API work?

    The starting points for the fluent API are the following classes:

    • MigrationBase: database modelling
    • Migration: data modification and script execution

    Supported expressions

    Create

    Create a database object.

    Alter

    Alter a database object.

    Delete

    Delete a database object or data.

    Rename (IRenameExpressionRoot)

    Rename a database object.

    Schema (ISchemaExpressionRoot)

    Schema-oriented starting point for expressions.

    IfDatabase (IIfDatabaseExpressionRoot)

    Create database-specific expressions.

    Insert (IInsertExpressionRoot)

    Insert data.

    Update (IUpdateExpressionRoot)

    Update data.

    Execute (IExecuteExpressionRoot)

    Execute SQL statements/scripts.

    Planned changes

    • Differentiate between Delete and Drop
    • Edit this page
    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.