Search Results for

    Show / Hide Table of Contents

    Interface ICreateForeignKeyCascadeSyntax

    Defines the cascading rules of a foreign key constraint

    Namespace: FluentMigrator.Builders.Create.ForeignKey
    Assembly: FluentMigrator.Abstractions.dll
    Syntax
    public interface ICreateForeignKeyCascadeSyntax

    Methods

    | Edit this page View Source

    OnDelete(Rule)

    Defines the DELETE rule

    Declaration
    ICreateForeignKeyCascadeSyntax OnDelete(Rule rule)
    Parameters
    Type Name Description
    Rule rule

    The rule to apply to DELETE operations

    Returns
    Type Description
    ICreateForeignKeyCascadeSyntax

    Specify other rules

    | Edit this page View Source

    OnDeleteOrUpdate(Rule)

    Defines the UPDATE and DELETE rule

    Declaration
    void OnDeleteOrUpdate(Rule rule)
    Parameters
    Type Name Description
    Rule rule

    The rule to apply to UPDATE and DELETE operations

    | Edit this page View Source

    OnUpdate(Rule)

    Defines the UPDATE rule

    Declaration
    ICreateForeignKeyCascadeSyntax OnUpdate(Rule rule)
    Parameters
    Type Name Description
    Rule rule

    The rule to apply to UPDATE operations

    Returns
    Type Description
    ICreateForeignKeyCascadeSyntax

    Specify other rules

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