Search Results for

    Show / Hide Table of Contents
    View Source

    Interface ICreateForeignKeyToTableBuilder

    Represents a builder for specifying the target table of a foreign key constraint.

    Namespace: Umbraco.Cms.Infrastructure.Migrations.Expressions.Create.ForeignKey
    Assembly: Umbraco.Infrastructure.dll
    Syntax
    public interface ICreateForeignKeyToTableBuilder : IFluentBuilder

    Methods

    View Source

    ToTable(string)

    Specifies the table to which the foreign key will reference.

    Declaration
    ICreateForeignKeyPrimaryColumnBuilder ToTable(string table)
    Parameters
    Type Name Description
    string table

    The name of the table to reference.

    Returns
    Type Description
    ICreateForeignKeyPrimaryColumnBuilder

    A builder to specify the primary column of the foreign key.

    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX