AddForeignKeyOperation.CreateFrom(IForeignKeyConstraint) Método

Definição

Cria um novo AddForeignKeyOperation da chave estrangeira especificada.

public static Microsoft.EntityFrameworkCore.Migrations.Operations.AddForeignKeyOperation CreateFrom (Microsoft.EntityFrameworkCore.Metadata.IForeignKeyConstraint foreignKey);
static member CreateFrom : Microsoft.EntityFrameworkCore.Metadata.IForeignKeyConstraint -> Microsoft.EntityFrameworkCore.Migrations.Operations.AddForeignKeyOperation
Public Shared Function CreateFrom (foreignKey As IForeignKeyConstraint) As AddForeignKeyOperation

Parâmetros

foreignKey
IForeignKeyConstraint

A chave estrangeira.

Retornos

A operação.

Aplica-se a