Partilhar via


CascadeDeleteConvention.GetTargetDeleteBehavior(IConventionForeignKey) Método

Definição

Retorna o comportamento de exclusão a ser definido para a chave estrangeira fornecida.

protected virtual Microsoft.EntityFrameworkCore.DeleteBehavior GetTargetDeleteBehavior (Microsoft.EntityFrameworkCore.Metadata.IConventionForeignKey foreignKey);
abstract member GetTargetDeleteBehavior : Microsoft.EntityFrameworkCore.Metadata.IConventionForeignKey -> Microsoft.EntityFrameworkCore.DeleteBehavior
override this.GetTargetDeleteBehavior : Microsoft.EntityFrameworkCore.Metadata.IConventionForeignKey -> Microsoft.EntityFrameworkCore.DeleteBehavior
Protected Overridable Function GetTargetDeleteBehavior (foreignKey As IConventionForeignKey) As DeleteBehavior

Parâmetros

foreignKey
IConventionForeignKey

A chave estrangeira.

Retornos

Aplica-se a