Compartir a través de


AddForeignKeyOperation.CreateFrom(IForeignKeyConstraint) Método

Definición

Crea un nuevo AddForeignKeyOperation a partir de la clave externa 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

Clave externa.

Devoluciones

Operación.

Se aplica a