Interface ICreateForeignKeyFromTableBuilder
Represents a builder for specifying the source table when creating a foreign key.
Namespace: Umbraco.Cms.Infrastructure.Migrations.Expressions.Create.ForeignKey
Assembly: Umbraco.Infrastructure.dll
Syntax
public interface ICreateForeignKeyFromTableBuilder : IFluentBuilder
Methods
View SourceFromTable(string)
Sets the source table for the foreign key constraint.
Declaration
ICreateForeignKeyForeignColumnBuilder FromTable(string table)
Parameters
| Type | Name | Description |
|---|---|---|
| string | table | The name of the source table. |
Returns
| Type | Description |
|---|---|
| ICreateForeignKeyForeignColumnBuilder | An ICreateForeignKeyForeignColumnBuilder for further configuration. |