Compartir a través de


CascadeDeleteConvention.GetTargetDeleteBehavior(IConventionForeignKey) Método

Definición

Devuelve el comportamiento de eliminación que se va a establecer para la clave externa especificada.

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

Clave externa.

Devoluciones

Se aplica a