Udostępnij za pośrednictwem


CascadeDeleteConvention.GetTargetDeleteBehavior(IConventionForeignKey) Metoda

Definicja

Zwraca zachowanie usuwania ustawione dla danego klucza obcego.

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

Parametry

foreignKey
IConventionForeignKey

Klucz obcy.

Zwraca

Dotyczy