IUpdateAdapter.GetDependents(IUpdateEntry, IForeignKey) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
回傳與給定主鍵及外鍵相關的依賴項。
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
定義關係的外鍵。
傳回
家屬。