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 SourceToTable(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. |