IUpdateAdapter.FindPrincipal(IUpdateEntry, IForeignKey) Yöntem

Tanım

Verilen bağımlı giriş ve yabancı anahtar için asıl girdiyi alır.

public Microsoft.EntityFrameworkCore.Update.IUpdateEntry FindPrincipal (Microsoft.EntityFrameworkCore.Update.IUpdateEntry dependentEntry, Microsoft.EntityFrameworkCore.Metadata.IForeignKey foreignKey);
public Microsoft.EntityFrameworkCore.Update.IUpdateEntry? FindPrincipal (Microsoft.EntityFrameworkCore.Update.IUpdateEntry dependentEntry, Microsoft.EntityFrameworkCore.Metadata.IForeignKey foreignKey);
abstract member FindPrincipal : Microsoft.EntityFrameworkCore.Update.IUpdateEntry * Microsoft.EntityFrameworkCore.Metadata.IForeignKey -> Microsoft.EntityFrameworkCore.Update.IUpdateEntry
Public Function FindPrincipal (dependentEntry As IUpdateEntry, foreignKey As IForeignKey) As IUpdateEntry

Parametreler

dependentEntry
IUpdateEntry

Bağımlı giriş.

foreignKey
IForeignKey

İlişkiyi tanımlayan yabancı anahtar.

Döndürülenler

IUpdateEntry

Sorumlu veya hiçbiri bulunamazsa null.

Şunlara uygulanır