Partilhar via


SqlServerOnDeleteConvention.GetTargetDeleteBehavior Método

Definição

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

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

Parâmetros

foreignKey
IConventionForeignKey

A chave estrangeira.

Retornos

Aplica-se a