Search Results for

    Show / Hide Table of Contents

    IColumnTypeSyntax<TNext>

    --------+- AsAnsiString -+--------+-------------+---------------+-> TNext
            |                |        |             |               |
            |                +- size -+- collation -+               |
            |                                                       |
            +- AsBinary -----+--------+-----------------------------+
            |                |        |                             |
            |                +- size -+                             |
            |                                                       |
            +- AsBoolean -------------------------------------------+
            |                                                       |
            +- AsByte ----------------------------------------------+
            |                                                       |
            +- AsCurrency ------------------------------------------+
            |                                                       |
            +- AsDate ----------------------------------------------+
            |                                                       |
            +- AsDateTime ------------------------------------------+
            |                                                       |
            +- AsDateTime2 -----------------------------------------+
            |                                                       |
            +- AsDateTimeOffset -+-------------+--------------------+
            |                    |             |                    |
            |                    +- precision -+                    |
            |                                                       |
            +- AsDecimal --------+--------------------------+-------+
            |                    |                          |       |
            |                    +- precision ------ scale -+       |
            |                                                       |
            +- AsDouble --------------------------------------------+
            |                                                       |
            +- AsGuid ----------------------------------------------+
            |                                                       |
            +- AsFixedLengthString --- size -----+-------------+----+
            |                                    |             |    |
            |                                    +- collation -+    |
            |                                                       |
            +- AsFixedLengthAnsiString --- size -+-------------+----+
            |                                    |             |    |
            |                                    +- collation -+    |
            |                                                       |
            +- AsFloat ---------------------------------------------+
            |                                                       |
            +- AsInt16 ---------------------------------------------+
            |                                                       |
            +- AsInt32 ---------------------------------------------+
            |                                                       |
            +- AsInt64 ---------------------------------------------+
            |                                                       |
            +- AsString -----+--------+-------------+---------------+
            |                |        |             |               |
            |                +- size -+- collation -+               |
            |                                                       |
            +- AsTime ----------------------------------------------+
            |                                                       |
            +- AsXml --------+--------+-----------------------------+
            |                |        |                             |
            |                +- size -+                             |
            |                                                       |
            +- AsCustom --- customType -----------------------------+
    

    IColumnOptionSyntax<TNext,TNextFk>

    --------+- WithDefault --- method --------------------------------------+--> TNext
            |                                                               |
            +- WithDefaultValue --- value ----------------------------------+
            |                                                               |
            +- WithColumnDescription --- description -----------------------+
            |                                                               |
            +- Identity ----------------------------------------------------+
            |                                                               |
            +- Indexed -----------------------------------------------------+
            |                                                               |
            +- PrimaryKey -+--------+---------------------------------------+
            |              |        |                                       |
            |              +- name -+                                       |
            |                                                               |
            +- Nullable ----------------------------------------------------+
            |                                                               |
            +- NotNullable -------------------------------------------------+
            |                                                               |
            +- Unique -----+--------+---------------------------------------+
            |              |        |
            |              +- name -+
            |
            +- ForeignKey ---+-------------------------------------------+--+--> TNextFk
            |                |                                           |  |
            |                +-----------------------+- table --- column-+  |
            |                |                       |                      |
            |                +- name -+-+----------+-+                      |
            |                           |          |                        |
            |                           +- schema -+                        |
            |                                                               |
            +- ReferencedBy -+-----------------------+- table --- column-+--+
                             |                       |
                             +- name -+-+----------+-+
                                        |          |
                                        +- schema -+
    

    IForeignKeyCascadeSyntax<TNext,TNextFk>

    --------+- OnDeleteOrUpdate --- rule ---> TNext
            |
            +- OnDelete --- rule -+---------> TNextFk
            |                     |
            +- OnUpdate --- rule -+
    
    • 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.