Aracılığıyla paylaş


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. null Geçiş, ilişkili yabancı anahtar olmamasıyla sonuçlanır.

Şunlara uygulanır