Compartir a través de


SqlServerOnDeleteConvention.GetTargetDeleteBehavior Método

Definición

Devuelve el comportamiento de eliminación que se va a establecer para la clave externa 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

Clave externa.

Devoluciones

Se aplica a