Partilhar via


IConventionBatch.Run(IConventionForeignKey) Método

Definição

Executa as convenções atrasadas ao acompanhar as alterações na chave estrangeira fornecida.

public Microsoft.EntityFrameworkCore.Metadata.IConventionForeignKey Run (Microsoft.EntityFrameworkCore.Metadata.IConventionForeignKey foreignKey);
public Microsoft.EntityFrameworkCore.Metadata.IConventionForeignKey? Run (Microsoft.EntityFrameworkCore.Metadata.IConventionForeignKey foreignKey);
abstract member Run : Microsoft.EntityFrameworkCore.Metadata.IConventionForeignKey -> Microsoft.EntityFrameworkCore.Metadata.IConventionForeignKey
Public Function Run (foreignKey As IConventionForeignKey) As IConventionForeignKey

Parâmetros

foreignKey
IConventionForeignKey

A chave estrangeira a ser rastreada.

Retornos

O novo objeto de chave estrangeira se o determinado tiver sido substituído por uma convenção.

Aplica-se a