CascadeDeleteConvention.GetTargetDeleteBehavior(IConventionForeignKey) Metodo

Definizione

Restituisce il comportamento di eliminazione da impostare per la chiave esterna specificata.

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

Parametri

foreignKey
IConventionForeignKey

Chiave esterna.

Restituisce

Si applica a