CascadeDeleteConvention.GetTargetDeleteBehavior(IConventionForeignKey) Yöntem

Tanım

Verilen yabancı anahtar için ayarlanacağı silme davranışını döndürür.

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

Parametreler

foreignKey
IConventionForeignKey

Yabancı anahtar.

Döndürülenler

Şunlara uygulanır