語言

IUpdateAdapter.GetDependents(IUpdateEntry, IForeignKey) 方法

定義

回傳與給定主鍵及外鍵相關的依賴項。

public System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Update.IUpdateEntry> GetDependents(Microsoft.EntityFrameworkCore.Update.IUpdateEntry principalEntry, Microsoft.EntityFrameworkCore.Metadata.IForeignKey foreignKey);
abstract member GetDependents : Microsoft.EntityFrameworkCore.Update.IUpdateEntry * Microsoft.EntityFrameworkCore.Metadata.IForeignKey -> seq<Microsoft.EntityFrameworkCore.Update.IUpdateEntry>
Public Function GetDependents (principalEntry As IUpdateEntry, foreignKey As IForeignKey) As IEnumerable(Of IUpdateEntry)

參數

principalEntry
IUpdateEntry

主要條目。

foreignKey
IForeignKey

定義關係的外鍵。

傳回

家屬。

適用於