IMutableSkipNavigation.SetForeignKey(IMutableForeignKey) Yöntem

Tanım

Yabancı anahtarı ayarlar.

public void SetForeignKey (Microsoft.EntityFrameworkCore.Metadata.IMutableForeignKey foreignKey);
public void SetForeignKey (Microsoft.EntityFrameworkCore.Metadata.IMutableForeignKey? foreignKey);
abstract member SetForeignKey : Microsoft.EntityFrameworkCore.Metadata.IMutableForeignKey -> unit
Public Sub SetForeignKey (foreignKey As IMutableForeignKey)

Parametreler

foreignKey
IMutableForeignKey

Yabancı anahtar. Geçirme null sonucunda ilişkili yabancı anahtar olmaz.

Şunlara uygulanır